-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Type mismatch when assigning ref
to TextField.TextArea
#407
Comments
Thanks for the report, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When trying to assign a
ref
of typeHTMLTextAreaElement
to aTextField.TextArea
element, there is a type error ofA similar type mismatch happens when using a callback for the
ref
prop.To Reproduce
Steps to reproduce the behavior:
ref
variable with typeHTMLTextAreaElement
TextField.TextArea
elementref
prop of theTextArea
Expected behavior
There should be no type errors at all.
Additional context
Seems like the
ref
prop had the typeHTMLTextAreaElement
previously, but was changed toHTMLFormElement
in #381. Was this intended?The text was updated successfully, but these errors were encountered: