I have a scenario where a user can select a date and time starting from the moment he opens the date-time picker…
I am using the ion-datetime component as the picker and trying to set the min property of the component to today’s date and current time.
Looking at the examples provided in the documentation, it seems that the selection can only be restricted at date level, I would like to restrict with date and time both.
I tried passing a valid ISO string as mentioned in the docs eg 1997-07-16T19:20+01:00 but it throws an error in the console.
Thanks.
1 post - 1 participant