Skip to main content
-1 votes
2 answers
72 views

I'm automating a test using Selenium (Node.js) and trying to set a value for a datetime-local input. The UI visually shows the correct date/time, but when I inspect the element after driver.sleep(), ...
Yasela Wathsala's user avatar
0 votes
0 answers
22 views

I am using an HTML <input type="datetime-local"> in my React app. I want to customize the dropdown menu that appears when the input is focused — specifically the calendar and time ...
Muhammad Shawaiz Iqbal's user avatar
0 votes
0 answers
227 views

I have a datetime-input in a HTML form with step="1". It correctly shows the seconds in the UI and when the user opens the picker, they can select seconds. However, when retrieving the value ...
Nad Hr's user avatar
  • 86
1 vote
1 answer
136 views

I need to select date from datetime-local, but I want the minutes to be preselected as '00' Like: mm/dd/yyyy --:--:00 So that if the user selects a date-time, minutes will always be set to 00. My HTML ...
newbie coder's user avatar
0 votes
1 answer
141 views

Using the following form in Safari, if you set a date and then use the "clear" button to unset it, Safari will invalidate the form even though it's valid. It also doesn't assign the input ...
nick's user avatar
  • 3,760
2 votes
2 answers
260 views

I am trying to create an html datetime-local field which tells the user they can only pick from certain dates. Previous answers (such as this one - Disable certain dates from html5 datepicker) have ...
Antony's user avatar
  • 4,442
0 votes
1 answer
278 views

my code was working fine untill i added two datetime input fields,every time i click submit it says failed, the two columns in mysql database are datetime type a message in red displays on the top of ...
user21781868's user avatar
0 votes
0 answers
470 views

whenever i try to fill in datetime field i get this error in red : The expire does not match the format Y-m-d\TH:i:s.How can i fix this? here is my code: validation rules 'dis' => 'required|...
user21781868's user avatar
0 votes
0 answers
82 views

i want to have an input feild where i can choose date and time in the future from the current date i tried lot of solutions but when i try to choose a datetime it's giving me to choose between a time ...
user21781868's user avatar
0 votes
0 answers
458 views

In this case, I would like to change the time interval to every 15min, like 1:00,1:15,1:30,1:45 in the right hand side selection part. which will display 00,15,30,45 only instead of 30,31,32 like ...
Andy Qu's user avatar
0 votes
1 answer
1k views

I know that you can set defaultvalues inside useForm hook and reset it by reset() from 'react-hook-form'. But I'm not able to set value and min attribute to new Date() so that each time when form ...
neo-the-coder's user avatar
3 votes
2 answers
2k views

It is possible to set a default value for the time only or make the time optional for a datetime-local input (see this article as reference: MDN web-docs): <input type="datetime-local" value="...
Philip F.'s user avatar
  • 1,257
0 votes
0 answers
1k views

First of all, there are some questions here on SO on this topic, but none of them provide a solution or practical suggestion to reach the goal, so I'll try my own question. Here's the code with some ...
GiLA3's user avatar
  • 419
-1 votes
1 answer
1k views

i want to set date with this format 2022-09-22T16:03 in input datetime-local when i click button Enregister but not work, i try this post 1link but not work also this link 2link not work. <...
achraf bourki's user avatar
1 vote
2 answers
1k views

I am creating a few input fields of type datetime-local in Vuejs/Nuxtjs dynamically. I would like to set the default value for all these input fields as 2022-04-21T14:27:27.000. How to do it? For the ...
BATMAN_2008's user avatar
  • 3,642

15 30 50 per page