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:
@@ -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>";
|
||||
|
||||
|
Reference in New Issue
Block a user