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