Required field is highlighted as soon as the view is opened

Hello,
I am using Jmix version 2.5.2 in my project. However, required textField components are automatically validated and display error messages as soon as the view is opened, even before the user takes any action. I have set jmix.ui.component.immediate-required-validation-enabled=false, but nothing has changed.
When I downgraded the Jmix version from 2.5.2 to 2.5.0 or 2.4.x and used the same jmix.ui.component.immediate-required-validation-enabled=false property, everything worked as expected.
Could this be an issue specific to version 2.5.2?

Hi!

Looks like a regression. Thanks for your report. I’ve created an issue to fix it: `TypedTextField` ignores `jmix.ui.component.immediate-required-validation-enabled` application property after 2.5.2 · Issue #4522 · jmix-framework/jmix · GitHub

Best regards,
Dmitriy

1 Like