[
https://issues.apache.org/jira/browse/WICKET-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-6099.
-------------------------------------
Resolution: Cannot Reproduce
I cannot reproduce this in a quickstart.
> AjaxFormChoiceComponentUpdatingBehavior's javascript doesn't work when the
> radio has a label
> --------------------------------------------------------------------------------------------
>
> Key: WICKET-6099
> URL: https://issues.apache.org/jira/browse/WICKET-6099
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.2.0
> Reporter: Martin Grigorov
>
> AjaxFormChoiceComponentUpdatingBehavior's JS precondition
> {code}
> return attrs.event.target.name === '%s'", getFormComponent().getInputName()
> {code}
> doesn't work in case the input is used with a label like
> {code}
> <label>Blah <input .../></label>
> {code}
> or
> {code}
> <label for="x">Blah</label>
> <input id="x" .../>
> {code}
> In these case the event target is the label.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)