Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function support for errors on textarea, startFocused behavior #246

Merged
merged 6 commits into from
Jan 13, 2021

Conversation

kylesuss
Copy link
Contributor

This PR adds some logic that was already ported over to inputs. We now support an error function being passed in as well as the old approach of an error string. On top of that, we can have the textarea startFocused. Doing this aligns the textarea with the behavior that was setup for form validation recently.

src/components/Textarea.js Outdated Show resolved Hide resolved
@kylesuss kylesuss requested a review from domyen January 13, 2021 17:26
@domyen domyen merged commit ee6af52 into master Jan 13, 2021
@domyen domyen deleted the textarea-error branch January 13, 2021 18:30
@kylesuss
Copy link
Contributor Author

🚀 PR was released in v5.4.7 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants