Hi, I am using DialogService to display a component which has an async validator. I want to have the PreventAction wait for the component's async validation to complete. Is this possible?
1 Answer, 1 is accepted
0
Yanmario
Telerik team
answered on 21 Nov 2025, 11:26 AM
Hi Bob,
The preventAction callback was not designed for asynchronous actions. I recommend submitting a feature request in our feedback portal. I will also provide an example workaround that prevents the Dialog from closing by default and manually close the Dialog after confirmation from your asynchronous operation.
Thanks for reply. I ended up just using <kendo-dialog-actions> in my component so I could define the buttons there and have more control over the button actions/state.