FimsFormFields.get 수정

main
이범준 3 months ago
parent 69169557f0
commit 810886d11d

@ -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 어트리뷰트로 찾기
**************************************************************************/

@ -564,3 +564,7 @@ class FimsPagingSupport extends PagingSupport {
$(this.doq.selector(this.linkContainer)).setPagingInfo(pagination);
}
}
function newFimsPagingSupport(conf){
return new FimsPagingSupport(conf);
}
Loading…
Cancel
Save