select
select copied to clipboard
React Select
I'm using something similar to the following code. This is one of the examples from https://ant.design/components/select/ ``` option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} > Jack Lucy Tom ``` When typing "jack" and then...
# What pass getDocument to `SelectTrigger`, then to `Trigger`, # Why this kind of workaround https://github.com/react-component/trigger/issues/94 - [x] test pass - [x] lint pass
Added customization for 'builtinPlacements' prop of internal rc-trigger component.
I'm using ant design and it's using this select component. We really need the `event` variable once we're blurring it, so we can stop propagation. I thought perhaps I'm not...
Reopen #317 since not update for a while. This pull request allows passing hideAction in rc-select to support hiding menu by mouseLeave/blur.
https://github.com/ant-design/ant-design/issues/22907 原因: 1. 在mode=tags或multiple存在searchValue情况下,点击placeholder会先正常展示出Options,并移除了placeholder节点 2. 会触发useSelectTriggerControl hook,此时的target节点是已删除掉的placeholder节点,导致if判断为true,触发triggerOpen(false)隐藏掉Options
See issue https://github.com/react-component/select/issues/473
Hello! I have a component extending the Select with tags mode enabled. I'd like to have a regular tag wrapper, but just change the inside of the tag. Unfortunately the...
The customizeInputElement type definition are wrong such that it would throw an error on type checks
https://github.com/react-component/select/blob/245b3b18a8815abc419ab71f9d4ad7c407f0b486/src/generate.tsx#L625-L626 Well, It would throw an error says that _**Type null is not assignable to type ReactElement**_ and further caused references or inner component to cause error as expected. Tell...