-
-
Notifications
You must be signed in to change notification settings - Fork 368
Description
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.
Steps :
复现步骤:
-
Setting the Parameter of AutoComplete.razor, DisplayCount = "20";
设置自动完成框显示的数据数量, 20或者其他;
-
If setting the OnFocusFilter = "true", the DisplayCount will be working;
如果设置了 OnFocusFilter 为true,下拉框显示的数据数量正常;
-
The default OnFocusFilter is false, if no setting of OnFocusFilter in the AutoComplate.razor, the whole Items will be shown, the DisplayCount function is not working;
OnFocusFilter的默认值为False,如果AutoComplete的没有设置OnFocusFilter为True,下拉框会显示所有的数据,DisplayCount功能没生效;
Tips:
The AutoComplate.razor used the @key to enhance the Rendering Performance, suggest for the @bind-Value List must be disinct.
自动完成框组件使用了@key提高渲染性能,绑定的字符串列表必须是不重复的字符,可以使用DISTINCT”,用于返回唯一不重复的结果集;
Describe the solution you'd like
Add the condition judgement to the OnFocus Method:
是否可以在OnFocus的方法内加上对于DisplayCount的一个判定;
Additional context
No response

