-
-
Notifications
You must be signed in to change notification settings - Fork 443
Add “Maximum choices” field for Election questions #15318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
microstudi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested and it works fine.
However I'm wondering if we should add some javascript to prevent clicking more than the available questions.
Right now it works by let it you choose whatever you want and then return an error on voting if not allowed:
You have some opinion about this @carolromero ?
microstudi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@decidim/product this is deployed here https://decidim-reviews-1.dev.pokecode.net/processes/election-component/f/69/elections/46/votes/92 |
carolromero
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antopalidi great work! I also think the way to inform the voter is clear and unobtrusive.

🎩 What? Why?
Adds a new “Maximum choices” field to multiple-choice questions in Elections.
This allows administrators to define how many options participants can select.
📌 Related Issues
Testing
📷 Screenshots