Hello,
we work in angular and typescript.
I need to make a button who reset all control in the form to empty value.
How I can clear the value of kendo-datepicker ?
When we load the the form the kendo-datekiper is blank (like the sampe https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/)
A user select a date. If the user clear manually the date all work.
I need the code for reset the value kendo-datepicker to "bank" ? null? undefined?
I have tried woth the binding of the value properties.
variable:
dt_value!: Date;
<kendo-datepicker [(value)] = "dt_value" > </kendo-datepicker>
But if I set variable dt_value to undefined I receive an error.
Thanks for any help.
LSo