Hi Nurbek,
As of now, we do not have complete support for this. We already have
logged a feature request for the requirement. we do not have any immediate plan
to implement this feature. At the planning stage for every release cycle, we
review all open features and implement the features based on feature rank, customer
requested count, and volume wish-list. You can track the status of the feature
from below feedback link.
Feedback: https://www.syncfusion.com/feedback/15480/provide-support-for-custom-validation-in-add-edit-dialog
However, You can prevent the save action when any of the
fields are empty by using the actionBegin event and checking if the args.requestType
is equal to "beforeSave". In this example, we are restricting
the save action for tasks that have an empty string in the taskName field. We have attached a sample and code snippets for your reference,
please check the below sample and code snippets for more details.
Code snippets:
actionBegin(args) {
if (args.requestType ==
'beforeSave' && args.data.TaskName == '') {
args.cancel = true;
}
},
|
Sample: https://stackblitz.com/edit/v2azxa?file=index.ts,data-source.ts
UG Documentation: https://ej2.syncfusion.com/documentation/api/gantt#actionbegin
Regards,
Gopinath M