Hello, is there any chances to disable or do not display the validation dialog upon using the Input component. Based on this example, I want to use the Error component for displaying the validation as Text and I will no longer use the validation dialog.
Btw, I'm using Kendo UI for Vue
1 Answer, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 26 Apr 2024, 12:13 PM
Hi Mustard,
This is the browser validation dialog and you can see the same message if you add "required" to an input element (or any other validation):
There are some option with CSS or with JavaScript that can be used:
document.addEventListener(
'invalid',
(function () {
return function (e) {
//prevent the browser from showing default error bubble / hint
e.preventDefault();
// optionally fire off some custom validation handler
// myValidation();
};
})(),
true
);