refine
refine copied to clipboard
feat(core): add `selectedOptionsOrder` in `useSelect`
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
🦋 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
Okay I'll update it tonight.