[fields] Make splitFieldInternalAndForwardedProps
public
#14515
Labels
component: pickers
This is the name of the generic UI component, not the React module!
customization: extend
Logic customizability
feature: Keyboard editing
Related to the pickers keyboard edition
When creating a custom component to pass to the
field
slot of a picker, you need to extract all the internal props (all the validation props, props likeformat
,formatDensity
,shouldRespectLeadingZeros
, ...) before forwarding the props to the DOM (even if you don't useuseField
at all).Making this hook public will help providing actual custom field like the masked-based field and the read-only field.
Search keywords:
The text was updated successfully, but these errors were encountered: