File tree Expand file tree Collapse file tree
ext/afform/admin/ang/afGuiEditor/elements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 < input type ="number " class ="form-control four " ng-model ="$ctrl.node.defn.input_attrs.max " ng-change ="$ctrl.onChangeMax() " title ="{{:: ts('Maximum value') }} " placeholder ="{{:: ts('Max') }} ">
2626 </ div >
2727</ li >
28- < li ng-if ="($ctrl.fieldDefn.input_type === 'Number' || $ctrl.fieldDefn.input_type === 'Range' ) && $ctrl.fieldDefn.data_type === 'Float' && !hasOptions() ">
28+ < li ng-if ="[ 'Number', 'Range'].includes( $ctrl.fieldDefn.input_type) && ['Float', 'Money'].includes( $ctrl.fieldDefn.data_type) && !hasOptions() ">
2929 < div ng-click ="$event.stopPropagation() " class ="af-gui-field-select-in-dropdown ">
3030 < label > {{:: ts('Decimal places:') }}</ label >
3131 < select class ="form-control " ng-model ="getSet('input_attrs.step') " ng-model-options ="{getterSetter: true} " title ="{{:: ts('Decimal places') }} ">
You can’t perform that action at this time.
0 commit comments