currently https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/select.php radiolist does define input inside its label, but thats wrong because with that input cant be selected
the code does need to be rewritten so that the input field is outside of its label (maybe with also adding a div around both input and label)
while searching i also found this:
https://github.com/joomla-framework/form/blob/master/src/Html/Select.php
in that one its more correct with the input outside of the label.
then i dont know what wend wrong, but i cant select the input in the first way because the label somehow prevents that
Category | ⇒ | Libraries |
I don't know either.
You may want to ask in the forum (forum.joomla.org) and see where the issue is coming from.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-06-18 10:23:57 |
Closed_By | ⇒ | Bakual |
found the bug, some other developer did make a click event on the label with preventDefault.
thats why the click on the input got prevented.
still thanks for the fast helping.
Labels |
Added:
?
|
Both
<label><input type="radio" name="foo" value="bar">Bar</label>
and
`Bar
are valid syntax
So it's not wrong, just a possible flavor. And I think the way we have is related to Bootstrap 2.3.