mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-26 16:27:47 +01:00
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 value = i.get();
|
||||
|
||||
data[name] = value ? value : undefined;
|
||||
data[name] = value === undefined || value === null ? undefined : value;
|
||||
}
|
||||
|
||||
// Gestione input HTML standard
|
||||
|
Loading…
x
Reference in New Issue
Block a user