| | |
| | | form.setOptions(MapUtil.getStrings(params, "options")); |
| | | } |
| | | |
| | | if (MapUtil.getBoolean(params, "requiredData")) { |
| | | if (MapUtil.getBoolean(params, "requiredData") != null && MapUtil.getBoolean(params, "requiredData")) { |
| | | form.setRequiredData("Y"); |
| | | }else { |
| | | form.setRequiredData("N"); |
| | |
| | | email : "", |
| | | site : "", |
| | | tel : "", |
| | | requiredData : "" |
| | | requiredData : false |
| | | } |
| | | }; |
| | | |
| | |
| | | <div class="form-group"> |
| | | <label for="customFieldAddForm2"><span translate="customField.fieldType">필드 유형</span> <code |
| | | class="highlighter-rouge">*</code></label> |
| | | <label> <input type="checkbox" ng-model="vm.form.requiredData"> 필수 데이터 </label> |
| | | <label for="customFieldAddForm2"> <input type="checkbox" ng-model="vm.form.requiredData"> 필수 데이터 </label> |
| | | <select id="customFieldAddForm2" class="form-control" ng-model="vm.form.customFieldType" |
| | | ng-change="fn.changeFieldType()"> |
| | | <option value="INPUT" translate="common.stringField">문자열 필드</option> |