Skip to content

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

Merged
nikclayton merged 3 commits into
pachli:mainfrom
nikclayton:90-disable-enable-vote-button
Sep 23, 2023
Merged

nikclayton merged 3 commits into
pachli:mainfrom
nikclayton:90-disable-enable-vote-button

Conversation

@nikclayton

Copy link
Copy Markdown
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