This will be the third PR featuring an input field... Not sure why the other PRs did not finish, but here is a complete solution matching the use cases on Figma:
It is a pretty basic implementation which does not change the behavior of an input text field. I did only hijack the onChange for the error handling, but it does not affect the actual usage of the input field onChange prop.
This will be the third PR featuring an input field... Not sure why the other PRs did not finish, but here is a complete solution matching the use cases on Figma: It is a pretty basic implementation which does not change the behavior of an input text field. I did only hijack the
onChange
for the error handling, but it does not affect the actual usage of the input fieldonChange
prop.