DateTime field step attribute #4137
Replies: 1 comment
-
|
Implemented: https://nova.laravel.com/docs/4.0/resources/date-fields.html#options |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
If you use the
DateTimefield, thestepattribute is hardcoded to 1 in the Nova component. This means the user always needs to input seconds, even if you only need hours and minutes.Other fields support the
stepmethod and it could be implemented the exact same way. For example with astepvalue of 60, you can disable / hide the seconds input in the picker.Detailed steps to reproduce the issue on a fresh Nova installation:
dateTimecolumn.DateTimefield.Beta Was this translation helpful? Give feedback.
All reactions