英文:
SyncFusion Blazor AutoComplete does not accept space in input
问题
我为从API检索的列表绑定了自动完成功能,当在输入框中输入值时,似乎不接受空格。每次按空格键时,控件似乎在“搜索”,但输入框不接受空格,因此我无法编写带有空格的搜索字符串,例如“不接受空格”。
<SfAutoComplete ID="Maker" @bind-Value="@(Item.Maker)" TValue="string" TItem="MakerDto" Placeholder="Produsent" FloatLabelType="FloatLabelType.Always" DataSource="@Makers">
<AutoCompleteFieldSettings Value="Name"></AutoCompleteFieldSettings>
</SfAutoComplete>
英文:
I bind an autocomplete to list where the data is retrieved by API, on entering values in the input it seems that it does not accept space. Every time I press space, it looks like the control is "searching" but the space is not accepted in the input, so I'm not able to write a search string with spaces like "space is not accepted".
<SfAutoComplete ID="Maker" @bind-Value="@(Item.Maker)" TValue="string" TItem="MakerDto" Placeholder="Produsent" FloatLabelType="FloatLabelType.Always" DataSource="@Makers">
<AutoCompleteFieldSettings Value="Name"></AutoCompleteFieldSettings>
</SfAutoComplete>
答案1
得分: 1
我们已经在我们的21.2.3版本中解决了报告的问题:“无法在下拉组件的输入字段中输入空格字符”,因此,我们建议您升级您的包到最新版本以解决当前的问题。
反馈:
https://www.syncfusion.com/feedback/43219
致敬,
Mohanraj M
英文:
We have already resolved the reported issue of "Unable to enter a space character in the input field of the dropdown components" in our 21.2.3 version. Therefore, we recommend that you upgrade your packages to the latest version to address the current issue.
Feedback:
https://www.syncfusion.com/feedback/43219
Regards,
Mohanraj M
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论