TextField doesn't like `rowsMin` and wrongly says `rows` is deprecated
See original GitHub issue- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
When trying to use rowsMin
for TextField
in 4.12.0
release:
React does not recognize the
rowsMin
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercaserowsmin
instead.
When trying to use rows
for TextField
in 4.12.0.
release:
The prop
rows
ofForwardRef(TextareaAutosize)
is deprecated. UserowsMin
instead.
Note that per the v5 documentation, rows
is still viable and this deprecation message is incorrect.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:8 (3 by maintainers)
Top Results From Across the Web
[TextField] Improve multiline behavior · Issue #21317 - GitHub
My particular problem was that I wanted an autosizing textarea starting at 4 rows. I thought rows={4} would do that, but the textarea...
Read more >TextField inside of Row causes layout exception
I no longer get the exception. What am I missing with the Row implementation that is causing it to not be able to...
Read more >TextField (deprecated) - Xojo documentation
The standard editable text field used by desktop applications. A TextField control can contain one line of text, with one font, font size,...
Read more >Database Engine events and errors - SQL Server
Consult this MSSQL error code list to find explanations for error messages for SQL Server database engine events.
Read more >Package 'data.table' - R Project
(used when nomatch is not supplied). mult. When i is a list (or data.frame or data.table) and multiple rows in x match to...
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
Based on this demo there is a console error saying:
Warning: Failed prop type: The prop rows of ForwardRef(TextareaAutosize) is deprecated. Use rowsMin instead.
It appears to only show up when amaxRows
prop is also present along with therows
prop, which is why it doesn’t show in the above example.rowsMin
does not appear to exist on the props type and is not respected even when passed anyways.Never mind. I was about to reproduce the bug again today but it’s fixed now. The Typescript build was probably outdated… Thank you @eps1lon! ❤️