diff options
Diffstat (limited to 'plugins/CorePluginsAdmin/angularjs/field/field.directive.js')
-rw-r--r-- | plugins/CorePluginsAdmin/angularjs/field/field.directive.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/CorePluginsAdmin/angularjs/field/field.directive.js b/plugins/CorePluginsAdmin/angularjs/field/field.directive.js index 1268fb881f..fb07808201 100644 --- a/plugins/CorePluginsAdmin/angularjs/field/field.directive.js +++ b/plugins/CorePluginsAdmin/angularjs/field/field.directive.js @@ -134,6 +134,12 @@ } }); + $scope.$watch('title', function (val, oldVal) { + if (val !== oldVal) { + $scope.field.title = val; + } + }); + if ('undefined' !== typeof $scope.placeholder && $scope.placeholder !== null) { $scope.$watch('placeholder', function (val, oldVal) { if (val !== oldVal) { |