Is there a way to access (get & set) the value of ion-datetime?
(ionChange) i can get the value after it changes.
ngModel does not work
The documentation shows nothing to access the value of an ion-datetime …only the event let me access the value.
what do you mean exactly?
you can set it with [value]=“your_variable_or_your_value”
Thanks, you are right. There is [value].
ion-datetime sets an initial value. I would like to have that.
I could set a date myself and take that. But it would be cleaner with a getter of ion-datetime.