Metadata
- Source
- FLUID-6565
- Type
- Bug
- Priority
- Blocker
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Justin Obara
- Created
2020-10-27T16:46:04.998-0400 - Updated
2020-10-28T09:52:39.288-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Prefs Framework
- UI Options
Description
Steps to reproduce:
- Open the UI Options demo
- Open the show preferences panel
- Using the keyboard select one of the contrast themes
- Press the "enter" key
- Notice that the panel disappears because the form submitted
It appears the issue is related to FLUID-6539 and the buttons for the switch are triggering the form to submit. This is on the same as FLUID-6507 which submits the form when there is only one text input field.
The solution may be just to update the button type to "button".
Comments
-
Cindy Li commented
2020-10-28T09:52:35.905-0400 The pull request that fixes this issue has been merged into the project repo main branch at this commit.