I am trying to emulate the default device datetime picker’s behavior with Ionic 2 but couldn’t find any solution.
What I want is basically set the datetime picker’s value to current date and time even when model has no value.
I know if I set the model I can get it to work but I need to keep the datetime box clear and when user taps on the box the picker opens with current date/time instead of showing 1/1/16 or 1:00 PM as it does now.
I’m thinking if there is any picker opened event that allows to set the picker’s selected value, that would be a solution.
I would appreciate any thought on this.