refinedev / refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
https://refine.dev
MIT License
27.75k stars 2.15k forks source link

fix(core): fixed type issue in useSelect's `optionLabel` and `optionValue` #6224

Closed WananiAdib closed 1 month ago

WananiAdib commented 2 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

The type didn't allow to pass function in optionValue and optionLabel.

What is the new behavior?

The type allows to pass function in optionValue and optionLabel.

fixes (#6223)

Notes for reviewers

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: d5bb5e20fa85e4923ba3e07e96e6b4209e3e328e

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

This PR includes changesets to release 1 package | Name | Type | | --------------- | ----- | | @refinedev/core | 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