select
select copied to clipboard
React Select
if `fieldNames` is used to map a `label` prop AND no `optionFilterProp` is provided (i.e. default is label) then `optionFilterProp` should search the label specified by `fieldNames`. I find myself...
看到 https://github.com/react-component/select/blob/master/src/Select.tsx#L112-L113 的参数类型在近期修改成了`RawValueType | LabelInValueType`,我们使用过程中有遇到`tsc`检查出来的类型不兼容问题 从文档来看,似乎`onSelect`和`onDeselect`的参数只能是value而不会是option对象:  想了解一下,如果这个类型的更新是正确的,那么什么情况下`value`参数的值会是`LabelInValueType`类型,便于用户做好相应的逻辑处理
Hi! thx useful libs. I can use `searchValue` props like this, https://codesandbox.io/s/youthful-danilo-b2xh9?file=/App.tsx https://github.com/react-component/select/blob/master/src/Select.tsx#L107 but I don't know what effect it will have as it is not documented. https://select-react-component.vercel.app/ Is this...
Hi, By default, when the input matches a value in the option list, the auto-complete selects visually that item by default. Is there a possibility to create a flag that...
It's quite meaningless to pass uncompoleted input to search. At least pass `isCompositing` to `onSearch` props
我看到是有缓存选项这一功能的。但在初始化时,将value传入,此时根据value向后端请求对应的选项,这些选项没有被缓存下来。后续刷新选项后,这些value对应的option会变成{}。  不知道是否能支持呢? 或者在外部将初始化选中的选项缓存下来,再拼接进去了。
https://github.com/react-component/select/pull/639
If you have the following code: ``` A B C ``` And you start typing in the input field, pressing ArrowUp makes B active, not C.
Type of issue: **Bug** Minimal reproducible example and workaround: https://codesandbox.io/s/aged-shadow-3stt5?file=/src/App.js [Here you can see in the code](https://github.com/react-component/select/blob/99c78e43ae9245cf4b7a6b12f1f4b46fdd03e15d/src/SelectTrigger.tsx#L9), that the alignment is disabled both, for the "true" and "false" values. But...
At present setting dropdownMatchSelectWidth to false will mean disabling virtual list (src/generate.tsx line 961). Is there any way to not disable virtual list when using this option as it has...