We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the Feature Request
The Gridcoin core enforces a limit of 20 poll options in a multiple-choice poll:
Gridcoin-Research/src/gridcoin/voting/fwd.h
Line 31 in c9f3674
The Gridcoin wallet create poll wizard lets you add more than 20 poll options, potentially resulting in invalid polls being rejected by the network.
The feature request is to apply the poll option limit of 20 in the UI.
Describe Preferred Solution
Disabling the + button once 20 options have been added to the list of choices.
+
Alternatively applying a max length of 20 check within the addChoiceButton function.
Describe Alternatives
Gridcoin wiki update: Document that there's a max of 20 multiple choice questions in a poll.
Related Code
Gridcoin-Research/src/qt/voting/pollwizarddetailspage.cpp
Line 230 in c9f3674
https://github.com/gridcoin-community/Gridcoin-Research/blob/c9f3674f0abd92bbbe9c399065051db28a5f85ea/src/qt/forms/voting/pollwizarddetailspage.ui#L290C49-L290C64
Additional Context
The wizard lets you add hundreds of poll options
The text was updated successfully, but these errors were encountered:
jamescowens
No branches or pull requests
Feature Request
Describe the Feature Request
The Gridcoin core enforces a limit of 20 poll options in a multiple-choice poll:
Gridcoin-Research/src/gridcoin/voting/fwd.h
Line 31 in c9f3674
The Gridcoin wallet create poll wizard lets you add more than 20 poll options, potentially resulting in invalid polls being rejected by the network.
The feature request is to apply the poll option limit of 20 in the UI.
Describe Preferred Solution
Disabling the
+
button once 20 options have been added to the list of choices.Alternatively applying a max length of 20 check within the addChoiceButton function.
Describe Alternatives
Gridcoin wiki update: Document that there's a max of 20 multiple choice questions in a poll.
Related Code
Gridcoin-Research/src/gridcoin/voting/fwd.h
Line 31 in c9f3674
Gridcoin-Research/src/qt/voting/pollwizarddetailspage.cpp
Line 230 in c9f3674
https://github.com/gridcoin-community/Gridcoin-Research/blob/c9f3674f0abd92bbbe9c399065051db28a5f85ea/src/qt/forms/voting/pollwizarddetailspage.ui#L290C49-L290C64
Additional Context
The wizard lets you add hundreds of poll options
The text was updated successfully, but these errors were encountered: