SyncFusion Blazor AutoComplete 不接受输入中的空格。

huangapple go评论88阅读模式
英文:

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>

SyncFusion Blazor AutoComplete 不接受输入中的空格。

英文:

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".

    &lt;SfAutoComplete ID=&quot;Maker&quot; @bind-Value=&quot;@(Item.Maker)&quot; TValue=&quot;string&quot; TItem=&quot;MakerDto&quot; Placeholder=&quot;Produsent&quot; FloatLabelType=&quot;FloatLabelType.Always&quot; DataSource=&quot;@Makers&quot;&gt;
 
 &lt;AutoCompleteFieldSettings Value=&quot;Name&quot;&gt;&lt;/AutoCompleteFieldSettings&gt;
    
    &lt;/SfAutoComplete&gt;

SyncFusion Blazor AutoComplete 不接受输入中的空格。

答案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

huangapple
  • 本文由 发表于 2023年6月16日 02:28:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/76484544.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定