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

fix(core/select): non string values for the "value" prop of select-items are not working #1159

Merged
merged 9 commits into from
Mar 27, 2024

Conversation

jul-lam
Copy link
Collaborator

@jul-lam jul-lam commented Mar 12, 2024

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (yarn build) was run locally and any changes were pushed
  • Unit tests (yarn test) were run locally and passed
  • Visual Regression Tests (yarn visual-regression) were run locally and passed
  • Linting (npm lint) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

  • Bug fix
  • Feature
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

The item is not selectable if the value prop of the item is a non string value.

GitHub Issue Number: #1076

What is the new behavior?

The item is now also selectable if the value prop of the item is a non string value.

Does this introduce a breaking change?

  • Yes
  • No

Testing

Manual tests.

Other information

No tests were added, since the value prop will be of type string in future.

@jul-lam jul-lam self-assigned this Mar 12, 2024
@jul-lam jul-lam changed the title Fix/ngfor not working for select items fix(core/select): non string values for select-items are not working Mar 12, 2024
@jul-lam jul-lam changed the title fix(core/select): non string values for select-items are not working fix(core/select): non string values for the "value" prop of select-items are not working Mar 12, 2024
jul-lam and others added 3 commits March 13, 2024 12:16
Co-authored-by: Lukas Maurer <lukas.maurer@siemens.com>
Co-authored-by: Lukas Maurer <lukas.maurer@siemens.com>
nuke-ellington
nuke-ellington previously approved these changes Mar 13, 2024
@nuke-ellington nuke-ellington added this to the 2.2.0 milestone Mar 13, 2024
@nuke-ellington nuke-ellington added the pull request affects patch version The pull request affects only patch version label Mar 13, 2024
Copy link

changeset-bot bot commented Mar 21, 2024

🦋 Changeset detected

Latest commit: f680d42

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@siemens/ix Patch
@siemens/ix-angular Patch
@siemens/ix-react Patch
@siemens/ix-vue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@danielleroux danielleroux merged commit f5e4c83 into main Mar 27, 2024
9 checks passed
@danielleroux danielleroux deleted the fix/ngfor-not-working-for-select-items branch March 27, 2024 07:18
@github-actions github-actions bot mentioned this pull request Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull request affects patch version The pull request affects only patch version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants