Textfield validation in flowui

Hi,

I am using the latest jmix 2 version. How can one disable (or remove) the validation messages shown below every single textfield? I would like to rely on showing a Notification containing all the messages when the user clicks on OK or Save.

Thanks

Hi,

There is no easy way to hide error message below components. It requires overriding several field delegate beans (all inheritors of io.jmix.flowui.component.delegate.AbstractFieldDelegate) and change implementation of the setErrorMessage method so that it doesn’t set errorMessage property to element. I’ve created a GitHub issue to support application property that control whether to display error message for fields.

Regards,
Gleb

1 Like