JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Date & Time Pickers › smart date time picker bug with reactive form patchvalue › Reply To: smart date time picker bug with reactive form patchvalue
It is not practical to break out the code for very bug. I have provided a clear replication path, and I would expect a support function to do that as part of their role.
The component mark up is shown below…
<smart-date-time-picker
formatString=”ddd dd-MMM-yyyy”
dropDownDisplayMode=”calendar”
drop-down-position=”bottom”
calendar-button placeholder=”for”
style=”width: 180px”
[nullable]=”true”
[autoClose]=”true”
formControlName=”scheduledDate”
[dropDownAppendTo]=”‘body'”
>
</smart-date-time-picker>
… Thiss is how I can calling the control in a reactive form
this.taskForm.get(this.CONTROL_SCHEDULED_DATE).patchValue(null);