hilla
hilla copied to clipboard
Form-Binder: Unreliable validation of nullable properties
Description of the bug
Having a form with a custom validator, the validator is only called the first time you enter a value for a nullable property
Minimal reproducible example
This example will show you the bug. It will only occur when you call this.binder.read with the optional property missing.
Expected behavior
Entered value is validated every time you change that value
Actual behavior
The value is only validated the first time you enter a value to the field
Versions:
- Vaadin / Hilla version: 1.2.1