@progress/kendo-angular-grid
Version:
Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.
19 lines (18 loc) • 711 B
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* @hidden
*/
export const markAllAsTouched = (control) => {
control.markAsTouched();
if (control.hasOwnProperty('controls')) {
const controls = control.controls;
for (const inner in controls) {
if (controls.hasOwnProperty(inner)) {
markAllAsTouched(controls[inner]);
}
}
}
};