rekit / antd-form-builder

Dynamic meta driven React forms based on antd.

Home Page:https://rekit.github.io/antd-form-builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

nirmesh opened this issue · comments

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

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