[
https://issues.apache.org/jira/browse/WICKET-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126072#comment-16126072
]
Kamil commented on WICKET-6449:
-------------------------------
[~svenmeier], [~mgrigorov]
When you have dropdown with setRequired(true) and you select empty value - you
say that calling onError [is
fine|https://issues.apache.org/jira/browse/WICKET-6403?focusedCommentId=16056113&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16056113]
I understood this, I'm fine with this and I found this reasonable. But now with
exactly same situation:
Having checkbox with setRequired(true) and you uncheck it -> you say that
onError [is wrong|https://issues.apache.org/jira/browse/WICKET-1221]
how is this consistent?!
> Form should raise validation error when required checkbox is not set
> --------------------------------------------------------------------
>
> Key: WICKET-6449
> URL: https://issues.apache.org/jira/browse/WICKET-6449
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 8.0.0-M6
> Reporter: Kamil
> Assignee: Sven Meier
> Attachments: showcase-requiredCheckbox.zip
>
>
> Every user before he registers must agree to terms&conditions, thus proper
> checkbox is required to check and validation error should be raised when
> required checkbox is not checked.
> This test case shows incorrect behavior
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)