Fix minore gestione form JS

This commit is contained in:
Dasc3er 2021-04-02 15:06:25 +02:00
parent a4ced31e00
commit 37e47d1b11
1 changed files with 1 additions and 1 deletions

View File

@ -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