mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix minore gestione form JS
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user