display fix
authorKurund Jalmi <kurundjalmi@thirdsectordesign.org>
Fri, 3 Nov 2023 17:58:06 +0000 (17:58 +0000)
committerKurund Jalmi <kurundjalmi@thirdsectordesign.org>
Fri, 3 Nov 2023 17:58:06 +0000 (17:58 +0000)
ext/afform/admin/ang/afGuiEditor/elements/afGuiField-menu.html

index 73f89776ac2c30e68a22ff095cf864968297b50b..9d44c1fca8c87928c0dc10d05dda45bb2ead3ca1 100644 (file)
@@ -64,7 +64,7 @@
     </select>
   </div>
 </li>
-<li ng-if="$ctrl.hasDefaultValue && $ctrl.defaultDateType !== 'current_date'">
+<li ng-if="$ctrl.hasDefaultValue && $ctrl.defaultDateType !== 'now'">
   <form ng-click="$event.stopPropagation()" class="af-gui-field-select-in-dropdown form-inline">
     <input class="form-control" af-gui-field-value="$ctrl.fieldDefn" ng-model="getSet('afform_default')" ng-model-options="{getterSetter: true}" >
   </form>