fix(n8n Form Trigger Node): Add back the query selector for multiselect (#13987)

This commit is contained in:
Dana 2025-03-17 12:53:30 +01:00 committed by GitHub
parent 1c17d12209
commit 39208dcb70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -859,7 +859,10 @@
}
}
}
document.querySelectorAll('.multiselect').forEach((multiselect) => {
const selectedValues = getSelectedValues(multiselect);
formData.append(multiselect.id, JSON.stringify(selectedValues));
});
document.querySelector('#submit-btn').disabled = true;
document.querySelector('#submit-btn').style.cursor = 'not-allowed';
document.querySelector('#submit-btn span').style.display = 'inline-block';