-
I'm not sure how to handle a text area in a ValidatedForm? Edit have a possibly working solution that looks like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Handling for textareas should be identical to regular inputs. <textarea {...getInputProps({})} /> If you're using a textarea from a component library that doesn't pass the name attribute to the textarea element, you could treat it like a controlled component and use useControlField + a hidden input. |
Beta Was this translation helpful? Give feedback.
Handling for textareas should be identical to regular inputs.
If you're using a textarea from a component library that doesn't pass the name attribute to the textarea element, you could treat it like a controlled component and use useControlField + a hidden input.