Scenario to reproduce:
1. A HATS input field containing data.
2. Focus on the input field.
3. Delete all the characters on the field using delete/backspace key.
4. Submit the page.
The field should be cleared/an appropriate error must be displayed(if field is mandatory).
The field is not cleared.
<setting name="autoEraseFields" value="true"/>
Trim spaces on the input field.
Additional Infromation :
issue where we are caught on a catch 22 situation with respect to the project setting for 'autoEraseFields'. When we set the 'autoEraseFields' to its default value of 'True', the Delete/Backspace key on the below fields doesn't clear the field on the mainframe , rather it simulates the EOF(Erase end of field) behavior of the mainframe which doesn't clear the fields in mainframe as well. when these fields are cleared using 'Delete' key in mainframe, the field is getting cleared but NOT on HATS .On the other hand if we set the 'autoEraseFields' to 'False', the Delete/Backspace issue is NOT there but we are getting an online mainframe error 'Dark data in error' because the numeric fields are padded with spaces when the length of the data entered is less than the field length.
This topic has been locked.