Skip to content

feat(AutoComplete): 当上面有值时,必须使用键盘删掉上面的值,才能显示全部列表,再选择其它值,操作不方便 #6516

@movieliang

Description

@movieliang

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

1、当上面有值时,必须使用键盘删掉上面的值,才能显示全部列表,再选择其它值,操作不方便。
2、不可以像antblazor的那样设置显示的列表与绑定的值可以不一至的。
3、希望多个input 能共用一个列表的数据。例如10个input,前端就会渲染有10 列表数据
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/datalist
Image

Describe the solution you'd like

建议参考antblazor的:
1、鼠标点击时列出所选项,不是过滤后的选项。
2、显示的列表与选择后绑定的内容可以不一至。
例如:列表显示 SH-上海 而选择后绑定的值是:上海,这样就可以输入字母SH快速选择。
https://antblazor.com/zh-CN/components/autocomplete

Image

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions