Skip to content

[🐞] Select validation not working on the last item after having selected another option before #1171

@rat-lander

Description

@rat-lander

Which package is affected?

Headless Kit

Describe the bug

On the Select validation example, if you select the last option after having selected another one before you will get a validation error as if the value was empty.

Image

Reproduction

https://qwikui.com/docs/headless/select/#validation

Steps to reproduce

  • Go to the Select validation example.
  • Select any option first.
  • Then select the last option and try to submit the form. You will get a validation error as if it was empty.

System Info

Chrome

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions