If I use validation groups, then they are ignored by the form helper classes.
My field is defined as:
@Constraints.Required(groups={ NameRequired.class })
private String name;Then I create:
Form.form( MyModel.class, NameNotRequired.class )Calling
@helper.inputText( form("name") )Outputs the Required text, even though the form I am using does not require the name field.
The actual validation works fine, but the form input helper, is not checking validation groups.