[
https://issues.apache.org/jira/browse/TAP5-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Fryblik updated TAP5-2156:
------------------------------
Attachment: translations_cs.tar
> t:validate=required attribute on t:radiogroup does not cause client-side
> validation failure when no radio button selected
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-2156
> URL: https://issues.apache.org/jira/browse/TAP5-2156
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Reporter: David Nicholas Williams
> Priority: Minor
> Labels: client, validation
>
> Using the standard t:validate="required" attribute on t:radiogroup like so
> does not work
> <t:radiogroup t:id="options" value="data.options" t:validate="required" >
> <t:label for="option1"/><t:radio t:id="option1" t:value="option1"/>
> <t:label for="option2"/><t:radio t:id="option2" t:value="option2"/>
> </t:radiogroup>
> When the form is submitted and neither radiobutton 'option1' or 'option2' in
> 'options' is selected, there is no client-side validation failure.
> N.B. The server-side validation using the validate="required" attribute works
> as expected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira