fixed an issue where the method used to determinate if a checkbox is checked or not
This commit is contained in:
parent
40ff08a13d
commit
eff680be38
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class BaseChoiceQuestion(BaseSurvey):
|
||||||
collected_data = {
|
collected_data = {
|
||||||
"choices": {
|
"choices": {
|
||||||
choice_id: {
|
choice_id: {
|
||||||
"checked": choice_data["button"].isEnabled(),
|
"checked": choice_data["button"].isChecked(),
|
||||||
"details": entry.text() if (entry := choice_data["entry"]) is not None else None
|
"details": entry.text() if (entry := choice_data["entry"]) is not None else None
|
||||||
}
|
}
|
||||||
for choice_id, choice_data in self.buttons_responses.items()
|
for choice_id, choice_data in self.buttons_responses.items()
|
||||||
|
|
Loading…
Reference in a new issue