Blazorise“selectlist”组件不绑定数据

问题描述 投票:0回答:0

我刚开始学习 Blazor,特别是 Blazorise。我找到了 component I wanted to use,从提供的示例中复制了代码,但它没有用。我错过了什么?

  Index.razor(30, 34): [RZ9991] The attribute names could not be inferred from bind attribute 'bind-SelectedValue'. Bind attributes should be of the form 'bind' or 'bind-value' along with their corresponding optional parameters like 'bind-value:event', 'bind:format' etc.

我尝试用小写输入所有内容,因为人们说 bind 现在区分大小写,但它没有用。还尝试使用“绑定值”error image

c# blazor selectlist blazorise
© www.soinside.com 2019 - 2024. All rights reserved.