Choices-js/Choices

reset form leaves chosen option in view

Closed this issue · 2 comments

Describe the bug
When you press reset on a form, the chosen option remains visible...next to the default version

To Reproduce
Steps to reproduce the behavior:

  1. Open https://choices-js.github.io/Choices/
  2. Scroll down to the latest example
  3. Make a choice.
  4. Press reset
  5. See that both chosen value as default value are visible

Expected behavior
After pressing reset I was expecting the default value to be visible and the chosen value be unset.

Screenshots

  • initial state
    Screenshot 2024-08-29 at 12 45 34

  • chosen value
    Screenshot 2024-08-29 at 12 45 51

  • press reset
    Screenshot 2024-08-29 at 12 45 57

Choices version and bundle

  • Version: v11.0.0 choices.min.js

Desktop (please complete the following information):

  • OS: iOS
  • Browser chrome
  • Version Version 128.0.6613.85 (Official Build) (arm64)

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Xon commented

This was fixed in #1181, it just hasn't been released as v11.0.1 yet.

Then this issue can be closed. Awaiting the new release. Thank you