Fixed collapsed ChoiceType options attributes
This commit is contained in:
parent
ddf8b27e14
commit
7806e2a05d
@ -1,4 +1,3 @@
|
|||||||
id="<?php echo $view->escape($id) ?>" name="<?php echo $view->escape($full_name) ?>"
|
|
||||||
<?php if ($disabled): ?>disabled="disabled" <?php endif ?>
|
<?php if ($disabled): ?>disabled="disabled" <?php endif ?>
|
||||||
<?php foreach ($choice_attr as $k => $v): ?>
|
<?php foreach ($choice_attr as $k => $v): ?>
|
||||||
<?php if ($v === true): ?>
|
<?php if ($v === true): ?>
|
||||||
|
@ -612,8 +612,8 @@ abstract class AbstractLayoutTest extends \Symfony\Component\Form\Test\FormInteg
|
|||||||
[@class="bar&baz"]
|
[@class="bar&baz"]
|
||||||
[not(@required)]
|
[not(@required)]
|
||||||
[
|
[
|
||||||
./option[@value="&a"][@selected="selected"][.="[trans]Choice&A[/trans]"]
|
./option[@value="&a"][@selected="selected"][.="[trans]Choice&A[/trans]"][not(@id)][not(@name)]
|
||||||
/following-sibling::option[@value="&b"][not(@class)][not(@selected)][.="[trans]Choice&B[/trans]"]
|
/following-sibling::option[@value="&b"][not(@class)][not(@selected)][.="[trans]Choice&B[/trans]"][not(@id)][not(@name)]
|
||||||
]
|
]
|
||||||
[count(./option)=2]
|
[count(./option)=2]
|
||||||
'
|
'
|
||||||
|
Reference in New Issue
Block a user