Skip to content
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

Provide a way to create polls with either single or multiple options to vote #41

Closed
evalica opened this issue May 22, 2019 · 1 comment

Comments

@evalica
Copy link

evalica commented May 22, 2019

Currently, when creating a poll, the voters can select all the options, since the control used are checkboxes.
There are several cases when the creator of the poll wants to limit the voters to a single choice. This could be implemented by using radio controls instead.

Current:
checkboxes

Expected:
radio

Proposal:
proposal
select

@evalica
Copy link
Author

evalica commented May 22, 2019

ideally this option needs to be flexible. Users might change their mind and switch between options multiple times, or sometimes even if there are already votes given.

@acotiuga acotiuga self-assigned this Oct 15, 2019
@acotiuga acotiuga added this to the 2.0 milestone Oct 15, 2019
acotiuga added a commit that referenced this issue Oct 15, 2019
* add a new boolean property 'type' to the XPollClass for single and multple options
* refactored duplicated code into a macro to display the options input
* updated all the translations pages with the new added translations
@acotiuga acotiuga changed the title Limit the voting choices to a single option Provide a way to create polls with either single or multiple options to vote Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants