Skip to content

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

@densen2014

Description

@densen2014

Is there an existing issue for this?

  • 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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions