-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Open
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: text fieldChanges related to the text field.Changes related to the text field.type: bugIt doesn't behave as expected.It doesn't behave as expected.typescript
Description
Steps to reproduce
Steps:
- Open this link to live example: https://stackblitz.com/edit/e8yxd8yt?file=src%2FDemo.tsx
- Observe the error in the editor.
Current behavior
There is an error on slotProps -> formHelperText -> any data attribute. This error doesn't occur for htmlInput.
Expected behavior
No error, data attributes should be added to the typings, as they are for other slotProps.
Context
It's important to remember that this is purely a typings issue. At run-time it works perfectly.
Your environment
npx @mui/envinfo
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 22.21.0 - C:\Program Files\nodejs\node.EXE
npm: 11.6.2 - C:\Program Files\nodejs\npm.CMD
pnpm: Not Found
Browsers:
Chrome: 142.0.7444.135
Edge: Chromium (141.0.3537.99)
Firefox: 144.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe
I'm using Firefox 144 (not that it matters)
Search keywords: formHelperText data attributes
Metadata
Metadata
Assignees
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: text fieldChanges related to the text field.Changes related to the text field.type: bugIt doesn't behave as expected.It doesn't behave as expected.typescript