I have an undesirable behavior in my application, and I don't know how I can remove it.
I have a required field and a "Save" button in a form. Here are the steps to reproduce my behavior :
- The first test is to fill the field and click on the button => OK
- Reset the field to an empty value and click again on the button => the old valid value is restore and the error message is displayed.
The issue : the message tells a value is required, but the field is no more empty !
Is there a way to avoid this restore of the last valid value ?