Open wtina opened 5 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: Filterable is not set in the select multi-select scenario, and clicking the input box will not trigger the focus and blur events.
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: Filterable is not set in the select multi-select scenario, and clicking the input box will not trigger the focus and blur events.
When filterable is not set, if there is no selected item, clicking the input box will trigger. When there is a selected item, the input box will be covered by the tag and will not trigger.
为什么这个组件从 hui 库中引入呢?提供的源码第一行: import { Select, Option, Modal } from '@hui3/vue'
根据文档,它是监听输入框的事件。 而没有filter时, 下拉组件只有下拉/ 选择功能, 没有输入框的。所以没有这blur事件是合理的。
Bot detected the issue body's language is not English, translate it automatically.
According to the documentation, it listens for events of the input box. When there is no filter, the drop-down component only has the drop-down/select function and no input box.
Version
latest
Vue Version
latest
Link to minimal reproduction
Step to reproduce
不开启filterable
What is expected
希望不开启filterable,也可以触发聚焦失焦事件
What is actually happening
实际不会触发失焦聚焦事件
What is your project name
hundsun
Any additional comments (optional)
无