[material-ui][Text Field] Warning about missing id/name with the multiline prop #40859
Labels
component: text field
This is the name of the generic UI component, not the React module!
external dependency
Blocked by external dependency, we can’t do anything about it
package: material-ui
Specific to @mui/material
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
Currently, MUI renders 2 textarea dom elements for each multiline textfield/input.
The 1st textarea component contains the id/name attribute as expected.
The 2nd textarea (hidden) component is missing id/name attributes which raises a browser issue/warning
Expected behavior
Both textarea dom components should contain unique id/name attributes
Context
Trying to keep the browser issues/warnings to a minimum.
Your environment
npx @mui/envinfo
Search keywords: TextField multiline warning missing id
The text was updated successfully, but these errors were encountered: