Closed hamed-musallam closed 5 months ago
Latest commit: |
eb4623e
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8560cf9b.react-science.pages.dev |
Branch Preview URL: | https://improve-use-select-hook.react-science.pages.dev |
@stropitek
could you take a look at this PR, Now the useSelect
hook
defaultSelectedItem
property.itemLabelKey
property, which accepts only keys where the value type is a string.itemLabelMap
function, which takes an item as a parameter and returns a string.
Improve the useSelect hook :
defaultSelectedItem
property.itemTextKey
property, which accepts only keys where the value type is a string.getItemText
function, which takes an item as a parameter and returns a string.