angular.module("c8y.ui").directive("c8yCheckDirty",function(){return{restrict:"A",require:"?^form",link:function(i,r,e,t){var c;t&&(c=!1,i.$watch(e.c8yCheckDirty,function(i,r){c&&!_.isUndefined(r)&&t.$setDirty(),c=!0},!0))}}});