I have a / combination in a Reactive environment.
I want use the (dateChange)/(timeChange) events to update a text, based on the current date/time selection:
(dateChange)="updateText()"
(timeChange)="updateText()"
In updateText() I access the current selected date the following way:
this.form.get('date')!.value
But at this point, the value is the old date, not the newly selected one.
Can this be updated, so that the event is fired after the formControl has been updated?
I have a / combination in a Reactive environment.
I want use the (dateChange)/(timeChange) events to update a text, based on the current date/time selection:
In updateText() I access the current selected date the following way:
this.form.get('date')!.valueBut at this point, the value is the old date, not the newly selected one.
Can this be updated, so that the event is fired after the formControl has been updated?