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

Remove deprecated 'checked' property on SegmentItem interface #2190

Conversation

RasmusKjeldgaard
Copy link
Collaborator

@RasmusKjeldgaard RasmusKjeldgaard commented Apr 26, 2022

Which issue does this PR close?

This PR closes #2065

What is the new behavior?

It is no longer an option to mark a SegmentItem in the items input of SegmentedControl as checked.

Does this PR introduce a breaking change?

  • Yes
  • No

Use selectedIndex or value on <kirby-segmented-control> instead of setting checked on any of the SegmentItems.

Are there any additional context?

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Reminders

  • Make sure you have implemented tests following the guidelines in: "The good: Test".
  • Make sure you have updated the cookbook with examples and showcases (for bug fixes, enhancements & new components).

Review

  • Do a self-review.
  • Request that the changes are code-reviewed
  • Request that the changes are UX reviewed (only necessary if your PR introduces visual changes)

When the pull request has been approved it will be automatically merged to stable via automerge.

Copy link
Contributor

@MadsBuchmann MadsBuchmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@RasmusKjeldgaard RasmusKjeldgaard merged commit 5579c0d into release/v6.0.0 Apr 27, 2022
@RasmusKjeldgaard RasmusKjeldgaard deleted the housekeeping/2065-remove-deprecated-checked-prop-segment-item branch April 27, 2022 13:13
This was referenced Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Housekeeping] Remove deprecated checked property on SegmentItem
2 participants