I would like to know is there any solution to write the field values to a business object if any of the bound fields has an invalid value?
My Binder have a bean (I used setBean() method) and fields have validators.
Validators prevents writing invalid values and that is problem for my use case.
In official documentation I don’t see that is possible.
In Vaadin 7 we had method setInvalidCommitted(boolean isCommitted) on Field object for that purpose.
Validators prevents writing invalid values and that is problem for my use case.
That is the very purpose of the Validators and Binder.
If you have a case where you really want and need to update business object with non-validated values, the most typical way is not to use Binder. I.e. then you could just use value change listeners in the fields, etc.