99x / first-born

Component library for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for error/feedback text in form fields?

sudomann opened this issue · comments

Currently there is no way to insert my own error text below each field since their render methods aren't exposed.

Hi @sudomann,
That feature has not been implemented yet. I will include an update here, when it's done.

Hi @sudomann,
This feature is now implemented in release v1.1.3. The errorMessage prop is a string that displays if the isValid prop function returns a false. The 'errorColor' prop allows you to define the color of the text and input when the validation fails