BootstrapBlazor
BootstrapBlazor copied to clipboard
feat(SelectedItem): 希望选项值可以支持 TValue 而不仅仅是文本
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
No response
Describe the solution you'd like
类似 SegmentedOption 的 Value ,是不是场景更广,用户也不用自己转类型
/// <summary>
/// 选项类
/// </summary>
public class SelectedItem
{
/// <summary>
/// 获得/设置 选项值
/// </summary>
public TValue? Value { get; set; }
}
Additional context
No response