Afform - Add undo/redo buttons to the Admin UI
[civicrm-core.git] / ext / afform / admin / ang / afGuiEditor / inputType / Number.html
index cf7ce8b934bb7dd16acd2a58db7403bafb993d24..de62c538b89c569c883f8ac6b3ce51dd69ae2d14 100644 (file)
@@ -1,6 +1,6 @@
 <div class="form-inline">
   <div class="form-group" ng-repeat="i in $ctrl.getRangeElements('Number')">
     <span class="af-field-range-sep" ng-if="i">-</span>
-    <input autocomplete="off" class="form-control" ng-model="getSet('input_attrs.placeholder' + i)" ng-model-options="{getterSetter: true}" type="text" title="{{:: ts('Click to add placeholder text') }}"/>
+    <input autocomplete="off" class="form-control" ng-model="getSet('input_attrs.placeholder' + i)" ng-model-options="$ctrl.editor.debounceWithGetterSetter" type="text" title="{{:: ts('Click to add placeholder text') }}"/>
   </div>
 </div>