This repository has been archived by the owner on Feb 10, 2024. It is now read-only.
[BUG] Text input string with leading/trailing whitespaces, fails on validation. #23
Labels
bug
Something isn't working
In other project using text input string will considered as empty when the input value starts or ends with any spaces.
Link to the issue in another project https://github.com/orgs/heusalagroup/projects/1/views/1?pane=issue&itemId=22061524
Traced the problem to file
useFieldValidateStringWithStateValueCallback.ts
const parsedStateValue: string = trim(stateValueString);
return parsedStateValue === (propValue ?? '');
Not sure about the purpose of trimming, so I'll leave it here for now.
The text was updated successfully, but these errors were encountered: