Add support for <textarea> (just like in MDC Web)
See original GitHub issueIs TextField
supposed to wrap textarea
instead of the provided Input
when the prop textarea
is set to true
?
Will there be also a wrapper for textarea
similar to Input
?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
mdc-text-field--textarea with variant Full Width, unexpected ...
What is the expected behavior? Textarea keeps its original width. Any other information you believe would be useful? The following styles are ...
Read more >@material/mwc-textarea - npm
Properties/Attributes ; helper, string, Helper text to display below the input. Display default only when focused. ; helperPersistent, boolean ...
Read more >Text Field - Material Components for the Web
A text field doesn't require a label if a separate but clear label indicator is already displayed adjacent to the text field. Add...
Read more >javascript - MDC - Text Input can't be initialized - Stack Overflow
Strangely, it worked now removing const textField =... This is the new JS code: // MDC const mdc = window.mdc; // Auto init...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Got it. I’ll try getting a working example working and then update the docs.
While chatting on Discord, a user explained that the outlined and textarea props will trigger a double outline. The intention is to only use the textarea prop. Whatever is documented on MDCW should also be documented here.