BootstrapBlazor icon indicating copy to clipboard operation
BootstrapBlazor copied to clipboard

feat(SelectedItem): 希望选项值可以支持 TValue 而不仅仅是文本

Open densen2014 opened this issue 4 months ago • 1 comments

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

densen2014 avatar Oct 22 '24 02:10 densen2014