Fixes some property editors ensuring ngModelController(#10013)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
This commit is contained in:
@@ -169,11 +169,14 @@
|
||||
method: removeAllEntries,
|
||||
isDisabled: true
|
||||
};
|
||||
|
||||
// helper to force the current form into the dirty state
|
||||
function setDirty() {
|
||||
if ($scope.$parent.$parent.propertyForm) {
|
||||
$scope.$parent.$parent.propertyForm.$setDirty();
|
||||
|
||||
if (vm.umbProperty) {
|
||||
vm.umbProperty.setDirty();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
function addNode(alias) {
|
||||
|
||||
Reference in New Issue
Block a user