fixes valServer directive so that JS errors dont' occur on the content tyep editor

This commit is contained in:
Shannon
2019-06-07 13:01:58 +10:00
parent 3ea9504620
commit 9f346e6ee2

View File

@@ -7,7 +7,7 @@
**/
function valServer(serverValidationManager) {
return {
require: ['ngModel', '^^umbProperty', '?^^umbVariantContent'],
require: ['ngModel', '?^^umbProperty', '?^^umbVariantContent'],
restrict: "A",
scope: {},
link: function (scope, element, attr, ctrls) {