fix(Form Trigger Node): Do not translate checkbox values (#21737)

This commit is contained in:
yehorkardash 2025-11-14 14:57:17 +00:00 committed by GitHub
parent 6eeb739c92
commit 64137eb4d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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());
}
});