fix: enable ask_user submit when the last question uses the other field (#29494)

This commit is contained in:
G30 2026-09-07 13:21:12 -04:00 committed by GitHub
parent 2f2f4c872f
commit d49e424874
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@
return answer?.type === 'option' || (answer?.type === 'other' && answer.text.trim() !== '');
});
$: complete = hasAnswers();
$: complete = hasAnswers(answers);
const submit = (selected = answers) => {
if (!hasAnswers(selected)) {