You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In TextField, only the Input element has bind:inputEl. If it is a multiline TextField, inputEl will always be null. Unless there are considerations on the differences between textarea and Input that I am not aware of, adding bind:this={inputEl} to the textarea seems to work.
The text was updated successfully, but these errors were encountered:
Hey @erlenddahl 👋. That's a good call out and should be fine to add bind:this{inputEl} to <textarea> and update the inputEl type to include HTMLTextAreaElement. Adding this additional type would require some conditional handling in some cases for property type handling, but nothing unexpected.
I would like to move more of the type handling from TextField to Input over time (see: #225).
In
TextField
, only theInput
element hasbind:inputEl
. If it is a multilineTextField
,inputEl
will always be null. Unless there are considerations on the differences betweentextarea
andInput
that I am not aware of, addingbind:this={inputEl}
to thetextarea
seems to work.The text was updated successfully, but these errors were encountered: