This repository has been archived by the owner on Jul 4, 2019. It is now read-only.
Poll Answer # does not reset when adding or removing additional poll options #33
Labels
bug
Something isn't working
Description
When you create or start a poll from the "Start Discussion" composer, the poll option number does not reset back to it's original number when you remove a 3rd option and add a new one back in. In this state, you also cannot submit the poll to attach to the discussion.
Steps to Reproduce
Expected Behavior: When you launch the poll modal and want to add more options, you should be allowed to remove an option and add more options without the "Answer #" increasing instead of it being the actual field option number.
Actual Behavior: Poll options do not reset back to their original "Answer #" and the number just increases instead. In this state, you also cannot submit the poll as clicking the "Submit" button does not close the "Add Poll" modal.
Flarum/Server/Client Information
Technical Details
Flarum Info
Log Files
The text was updated successfully, but these errors were encountered: