-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fields] Enable the new field DOM structure by default (#14651)
- Loading branch information
1 parent
092057d
commit 509b12d
Showing
143 changed files
with
746 additions
and
1,848 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2902,7 +2902,8 @@ Same changes as in `@mui/[email protected]`. | |
``` | ||
- The headless field hooks (e.g.: `useDateField`) now returns a new prop called `enableAccessibleFieldDOMStructure`. | ||
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure. Learn more about this new [accessible DOM structure](/x/react-date-pickers/fields/#accessible-dom-structure). | ||
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure. | ||
Learn more about this new accessible DOM structure in the [v8 migration guide](https://next.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field). | ||
When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove `enableAccessibleFieldDOMStructure` before it is passed to the DOM: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Broken links found by `docs:link-check` that exist: | ||
|
||
- https://mui.com/x/react-date-pickers/fields/#accessible-dom-structure |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
docs/data/date-pickers/custom-field/BrowserV6Field.tsx.preview
This file was deleted.
Oops, something went wrong.
140 changes: 0 additions & 140 deletions
140
docs/data/date-pickers/custom-field/BrowserV6MultiInputRangeField.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.