Form Validator wrongly validates while clearing the components value using a clear icon. This is working fine when clearing the value using the backspace/delete key. We need to ensure all the form components.
Issue replication procedure:
- Run the sample
- Enter an invalid value with more than 2 character
- Click outside to trigger an error and make it appear
- Select input again and use a clear button to clear its value
- The validation error does not disappear.
Expected output: Validation message needs to be disappeared on clicking the clear icon
Validation message does not disappear on clicking the clear icon