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

Is there a way i can provide properties in teaxtArea like only 200 character are allowed #112

Open
nirmesh opened this issue Sep 20, 2021 · 1 comment

Comments

@nirmesh
Copy link

nirmesh commented Sep 20, 2021

Is there a way i can provide properties in teaxtArea like only 200 character are allowed and shows the count for remaining words etc while user is writing

@JulesLecuir
Copy link

Yes, you can pass a rules argument to your field, like you would for a regular Antd component. So you can ask for {max: 200} in the rules, it shoudl work (I haven't tested though). The Antd docs should help https://ant.design/components/form#formitem

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

No branches or pull requests

2 participants