[fields] Looks like a typo in doesSectionFormatHaveLeadingZeros
#10712
Labels
bug 🐛
Something doesn't work
component: pickers
This is the name of the generic UI component, not the React module!
feature: Keyboard editing
Related to the pickers keyboard edition
https://github.com/mui/mui-x/blob/11699655de983a87c1bc063ed167598e697a367a/packages/x-date-pickers/src/internals/hooks/useField/useField.utils.ts#L476C45-L476C45
I found what looks like a typo in
useField.utils.ts
. In the"seconds"
case ofdoesSectionFormatHaveLeadingZeros
,setMinutes
is called whereas I expected to see a call tosetSeconds
.Search keywords:
The text was updated successfully, but these errors were encountered: