Kendo Validator toggles class "k-invalid" only on inputs that are validated. So I can manage the appearence of simple inputs. But how I can style whole widget?
Widget markup usually consists of several inputs and wrappers. And validation styling should be applied to one of that wrappers. For example to ".k-widget .k-numeric-wrap" for NumericTextBox and so on. But validator does not have appropriate settings or extension points (some set of events for instance) to do that. At least I have not found that neither in docs nor in source code. It's not complex for me to modify source code of the validator to add this feature. But I don't want to merge my modification into following versions.
Is there some approach to solve problem?
Widget markup usually consists of several inputs and wrappers. And validation styling should be applied to one of that wrappers. For example to ".k-widget .k-numeric-wrap" for NumericTextBox and so on. But validator does not have appropriate settings or extension points (some set of events for instance) to do that. At least I have not found that neither in docs nor in source code. It's not complex for me to modify source code of the validator to add this feature. But I don't want to merge my modification into following versions.
Is there some approach to solve problem?