Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] - list-options are not disabled when max value is set #735

Closed
vangakirankumarreddy opened this issue Dec 8, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@vangakirankumarreddy
Copy link
Contributor

Component
list-options

Describe the bug
The options are not disabled when the set has multiple=true and the max value is provided(Change Event)

To Reproduce
Steps to reproduce the current behavior:

  <fw-select
      label="Names"
      placeholder="Your choices"
      hint-text="Select multiple options"
      multiple
      max="2"
    >
      <fw-select-option value="1" selected>Starks</fw-select-option>
      <fw-select-option value="2">Lannisters</fw-select-option>
      <fw-select-option value="3">Sand</fw-select-option>
    </fw-select>

Error Demo

Screen.Recording.2022-12-08.at.12.22.41.PM.mov

Expected behavior
A clear and concise description of what is expected to happen.

Screen.Recording.2022-12-08.at.12.24.17.PM.mov

Screenshots
If applicable, add screenshots to help explain the issue.

Additional context
Add any other context about the bug here.

@vangakirankumarreddy vangakirankumarreddy added the bug Something isn't working label Dec 8, 2022
@vangakirankumarreddy vangakirankumarreddy changed the title [Bug] - [Bug] - list-options are not disabled when max value is set Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants