dooApp/FXForm2

Class level constraint violation not reported at field level when a change in the field view does not trigger a model update

Closed this issue · 0 comments

Define a class with a class level validator that report a violation at the level of a given field.
Show an FXForm with such a bean.
Enter an invalid value in that field (let's say "4")
Enter a new value in that field that is still invalid but that will not trigger a model update since the value is the same, i.e. "4." (note the '.' after the 4)
FXForm performs a validation at field level and clear existing contraints but does not perform a new full class level validation, thus the constraint violation from the class level validator on this field is not shown anymore.