antd-form-builder icon indicating copy to clipboard operation
antd-form-builder copied to clipboard

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

Open nirmesh opened this issue 3 years ago • 1 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

nirmesh avatar Sep 20 '21 13:09 nirmesh

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

JulesLecuir avatar Mar 18 '23 13:03 JulesLecuir