Files
survey-tools/survey_dropdown_simple_choice/__init__.py
Quentin Mondot 73ca220e8f
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m43s
tests / test (pull_request) Successful in 2m14s
[ADD] survey_dropdown_simple_choice
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The select is mirrored on hidden radios so that the native survey form
pipeline (validation, conditional questions, "Other" comment, AJAX
submit, correct answers display) keeps working. Native radio rendering
is kept when suggested answers contain images and in readonly mode.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:31:28 +02:00

2 lines
21 B
Python