You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
7.9.1
What package has an issue?
@mantine/dates
What framework do you use?
create-react-app (CRA)
In which browsers you can reproduce the issue?
All
Describe the bug
When trying to pass step prop via timeInputProps to DateTimePicker but it is not working and if I change it manually in the HTML it works.
It seems like Mantine TimeInput component ignores this prop here
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.9.1
What package has an issue?
@mantine/dates
What framework do you use?
create-react-app (CRA)
In which browsers you can reproduce the issue?
All
Describe the bug
When trying to pass
step
prop viatimeInputProps
toDateTimePicker
but it is not working and if I change it manually in the HTML it works.It seems like Mantine
TimeInput
component ignores this prop heremantine/packages/@mantine/dates/src/components/TimeInput/TimeInput.tsx
Line 124 in 0976f8a
a possible solution would be to change that line to
step={props.step || withSeconds ? 1 : 60}
If possible, include a link to a codesandbox with a minimal reproduction
https://rb.gy/jmrgpd
Possible fix
No response
Self-service
The text was updated successfully, but these errors were encountered: