Hi,
Does anyone know how can I set the default value in datetime, like making it today forexample? Ionic sets it by default value/placeholder to the maximum date value which doesn’t make sense. I just want that when the user clicks to pick an option to find the default value/place holder that I set.
I tried binding the date to today’s date but then it automatically fills the date field with today’s date. But what if I want to leave it blank until the user chooses a date.
Thanks for your reply, but this doesn’t solve the problem as it forces today’s days to be displayed in the field by default… I would like to leave it blank until the user enters a date
Yup exactly that’s what I meant.
To todays date or to any value which makes sense but not automatically to the maximum date in 2030 forexample… then the user has to scroll down all the way. Just as an initial value to start scrolling from