|
|
@ -101,6 +101,7 @@ class FimsFormFields extends FormFields {
|
|
|
|
get() {
|
|
|
|
get() {
|
|
|
|
let obj = {};
|
|
|
|
let obj = {};
|
|
|
|
document.querySelectorAll(this.children).forEach(input => {
|
|
|
|
document.querySelectorAll(this.children).forEach(input => {
|
|
|
|
|
|
|
|
if(input.tagName == "INPUT" || input.tagName == "SELECT" || input.tagName == "TEXTAREA"){
|
|
|
|
let property = input.name || input.id;
|
|
|
|
let property = input.name || input.id;
|
|
|
|
let value = input.value;
|
|
|
|
let value = input.value;
|
|
|
|
if("radio" == input.type) {
|
|
|
|
if("radio" == input.type) {
|
|
|
@ -137,12 +138,16 @@ class FimsFormFields extends FormFields {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
obj[property] = value;
|
|
|
|
obj[property] = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return obj;
|
|
|
|
return obj;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function newFimsFormFields(conf){
|
|
|
|
|
|
|
|
return new FimsFormFields(conf);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* data-doctx,name 어트리뷰트로 찾기
|
|
|
|
* data-doctx,name 어트리뷰트로 찾기
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|