Dear Customer,
Thanks for the update.
How I can retrieve my value inside the method 'onPopupClose' ?
You can retrieve the values from its corresponding form elements like below code
public onPopupClose(args) {
this.startDate = null;
this.endDate = null;
alert(args.element.querySelector('.name').value);
}
how disable button 'save' when my form is invalid ?
We can disable the button by making use of its disabled property.
(document.querySelector('.e-event-save') as any).ej2_instances[0].disabled = true
You can set true/false to the property disabled based on your requirement.
Please try the above solution and get back to us if you need any further assistance.
Regards,
Vengatesh