Responsive required field validation during typing

Hi, I have a required text field for example

            <textField id="trxNoField" property="trxNo" required="true"/>

or

            <textField id="trxNoField" property="trxNo"/>

where trxNo is required in the entity (@NotNull).

I noticed that while I’m typing on the field, the field is still red meaning it does not detect my input as I’m typing it. I’m sorry if this sounds confusing, but basically I want the fields to detect my input during typing and validates itself as non-empty.

Thank you for the response.

Hello,

Just set value mode to eager

<textField id="usernameField" property="username"
                       valueChangeMode="EAGER"/>