Fix minore gestione form JS
This commit is contained in:
parent
a4ced31e00
commit
37e47d1b11
|
@ -229,7 +229,7 @@ function getInputsData(form) {
|
||||||
const name = i.getElement().attr('name');
|
const name = i.getElement().attr('name');
|
||||||
const value = i.get();
|
const value = i.get();
|
||||||
|
|
||||||
data[name] = value ? value : undefined;
|
data[name] = value === undefined || value === null ? undefined : value;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gestione input HTML standard
|
// Gestione input HTML standard
|
||||||
|
|
Loading…
Reference in New Issue