Skip to content

fix: Enable/disable vote button when the user can/can't vote #91

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

Merged
merged 3 commits into from
Sep 23, 2023

Conversation

nikclayton
Copy link
Contributor

Previously the voting button was always enabled, even if the user hadn't made a choice.

Disable the button by default, and listen for clicks on the options. Enable the button whenever one or more options are selected.

Fixes #90

Previously the voting button was always enabled, even if the user
hadn't made a choice.

Disable the button by default, and listen for clicks on the options.
Enable the button whenever one or more options are selected.

Fixes pachli#90
Previously the voting button was always enabled, even if the user
hadn't made a choice.

Disable the button by default, and listen for clicks on the options.
Enable the button whenever one or more options are selected.

Fixes pachli#90
@nikclayton nikclayton merged commit af7b668 into pachli:main Sep 23, 2023
@nikclayton nikclayton deleted the 90-disable-enable-vote-button branch September 23, 2023 19:02
@nikclayton nikclayton added this to the 1.2 milestone Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Not obvious that the poll vote button is active
1 participant