1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +02:00

Snippet to include id attribute.

This commit is contained in:
Cameron
2020-12-23 08:35:31 -08:00
parent b5684da8d7
commit eb47eb7716
3 changed files with 5 additions and 3 deletions

View File

@@ -1148,7 +1148,7 @@ class e_formTest extends \Codeception\Test\Unit
$result = $this->_frm->checkbox('myname', 3, true, ['readonly'=>true]);
$expected = "<label class='checkbox form-check'>
<input class='form-check-input' type='checkbox' id='myname-3' readonly='readonly' checked='checked' />
<input id='myname-3' class='form-check-input' type='checkbox' readonly='readonly' checked='checked' />
<span></span>
</label>";