Afform Gui - Fix selecting html element of text box
authorColeman Watts <coleman@civicrm.org>
Thu, 10 Mar 2022 01:42:09 +0000 (20:42 -0500)
committerColeman Watts <coleman@civicrm.org>
Sat, 12 Mar 2022 16:07:55 +0000 (11:07 -0500)
ext/afform/admin/ang/afGuiEditor/elements/afGuiText-menu.html

index 2678f5abee4fcbffc311c0d11a5ab17d8068c82f..1ad85816e3be1129dfa35e206f0f5be11869ffa1 100644 (file)
@@ -1,7 +1,7 @@
 <li ng-click="$event.stopPropagation()">
   <div class="af-gui-field-select-in-dropdown">
     <label>{{:: ts('Style:') }}</label>
-    <select class="form-control" ng-model="node['#tag']" title="{{:: ts('Text style') }}">
+    <select class="form-control" ng-model="$ctrl.node['#tag']" title="{{:: ts('Text style') }}">
       <option ng-repeat="(opt, label) in tags" value="{{ opt }}">{{ label }}</option>
     </select>
   </div>