-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Support name property #286
Comments
<MDEditor
value={value}
textareaProps={{
name: 'field'
}}
onChange={setValue}
/> <MDEditor
value={value}
+ textareaProps={{
+ name: 'field'
+ }}
onChange={setValue}
/> |
Having played around with this I think more changes would be needed to make it work directly with formik. The |
Is there a reason that
|
@allforabit I don't know the rules of formik. |
Of course @jaywcjlove the request is really to see if the component can be made to act closer to a native component. For instance material ui allows you to use the |
We provide an |
@allforabit Upgrade |
Thanks @jaywcjlove @allforabit ! |
To make this component behave more like a native input element, it should support the
name
attribute. It would make it easier to integrate with form libraries like formik.The text was updated successfully, but these errors were encountered: