체크박스 관련 수정

main
이범준 1 year ago
parent d0a1672331
commit 7789daf1cc

@ -83,6 +83,14 @@ class FimsFormFields extends FormFields {
if("radio" == input.type) { if("radio" == input.type) {
if(input.checked) if(input.checked)
obj[property] = value; obj[property] = value;
} else if("checkbox" == input.type) {
if(input.checked){
if(obj[property]){
obj[property] += ","+value;
} else {
obj[property] = value;
}
}
} else { } else {
if(input.dataset.fmtType){ if(input.dataset.fmtType){
const fmtType = input.dataset.fmtType; const fmtType = input.dataset.fmtType;

Loading…
Cancel
Save