react-native-textinput-effects icon indicating copy to clipboard operation
react-native-textinput-effects copied to clipboard

Feature Request : Validation errors with animation

Open sriraman opened this issue 9 years ago • 3 comments

It will be nice, If you add validation also with animation :)

sriraman avatar Jul 05 '16 10:07 sriraman

Hey @sriraman,

Validating input values might be beyond the purpose of this library. But it would be good to create a separate component for validation and make sure integrating is not a problem. I'll check out validation components out there and think about it. I'll also consider implementing validation within this component, too.

Thanks a lot for your suggestion.

halilb avatar Jul 05 '16 17:07 halilb

Even if you don't add validation to this library it would be cool if you could add an interface for showing validation messages and maybe a few different styles of displaying those. That way the developer is responsible for determining if the input is valid but can then rely on this library to display the error(s) in a manner consistent with the design of the text inputs.

kevinvangelder avatar Jul 11 '16 19:07 kevinvangelder

It's a good suggestion @kevinvangelder.

I'll try to implement some basic stuff to display validation messages. I'm not good at UX stuff so what I'll have might not look good enough. We may also ask to @codrops team, the source of UX patterns in this library, if they have nice solutions for the problem.

halilb avatar Jul 13 '16 13:07 halilb