Is there any way or code to enter defaul TIME in calendar.
The company operates in two shifts - 08:00 and 20:00. To reflect all work, a timesheet is used, which can be filtered by date and time mentioned above. Unfortunately, to select a time in the calendar you have to turn the mouse wheel a lot and then stop exactly. I'm already thinking about checking the entered date-time-local, but I guess there must be an easier way to set the programmed time.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Advanced work with calendar
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: Advanced work with calendar
Can you show what you mean by "to select a time in the calendar you have to turn the mouse wheel a lot and then stop exactly." ?
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Advanced work with calendar
This is what the calendar selection field looks like on my form. First, the user selects the date, then the hour and then the minutes. At the moment of retaking a shift, in which events can accumulate every minute, every minute is important for the overall picture of the shift. Errors when entering the start of a shift may result in products from another shift being counted.
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: Advanced work with calendar
The datetime-local HTML element is part of the HTML5 specification and not a native nuBuilder element.
It allows you to set a default date and time, but does not seem to provide a way to set a default value specifically for the time part alone.
(you can also search for posts on stackoverflow etc.)
It allows you to set a default date and time, but does not seem to provide a way to set a default value specifically for the time part alone.
(you can also search for posts on stackoverflow etc.)