mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-27 14:57:21 +02:00
fix(Form Trigger Node): Do not translate checkbox values (#21737)
This commit is contained in:
parent
6eeb739c92
commit
64137eb4d6
|
|
@ -509,7 +509,7 @@
|
|||
>
|
||||
{{#each multiSelectOptions}}
|
||||
<div class='multiselect-option'>
|
||||
<input type='checkbox' class='multiselect-checkbox' id='{{id}}' />
|
||||
<input type='checkbox' class='multiselect-checkbox' id='{{id}}' value='{{label}}' />
|
||||
<label for='{{id}}'>{{label}}</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
|
@ -724,8 +724,7 @@
|
|||
|
||||
checkboxes.forEach((checkbox, index) => {
|
||||
if (checkbox.checked) {
|
||||
const label = input.querySelectorAll('label')[index];
|
||||
selectedValues.push(label.textContent.trim());
|
||||
selectedValues.push(checkbox.value.trim());
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user