refine icon indicating copy to clipboard operation
refine copied to clipboard

feat(core): add `selectedOptionsOrder` in `useSelect`

Open Dominic-Preap opened this issue 1 year ago • 2 comments

PR Checklist

Please check if your PR fulfills the following requirements:

  • [x] The commit message follows our guidelines: https://refine.dev/docs/guides-concepts/contributing/#commit-convention

Bugs / Features

  • [x] Related issue(s) linked
  • [x] Tests for the changes have been added
  • [x] Docs have been added / updated
  • [x] Changesets have been added https://refine.dev/docs/guides-concepts/contributing/#creating-a-changeset

What is the current behavior?

Cannot sort selectedOptions at the top of list when use useSelect with defaultValue.

What is the new behavior?

feat: add selectedOptionsOrder in useSelect

fixes # (https://github.com/refinedev/refine/issues/6061)

Notes for reviewers

Dominic-Preap avatar Jun 22 '24 08:06 Dominic-Preap

🦋 Changeset detected

Latest commit: 49c26e3bcfd41a9eb7a0dc440076b457bf3cd7df

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

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

changeset-bot[bot] avatar Jun 22 '24 08:06 changeset-bot[bot]

Okay I'll update it tonight.

Dominic-Preap avatar Jun 28 '24 09:06 Dominic-Preap