Skip to content

DataGrid/PropertyColumn use DisplayAttribute value for enum but doesn't support Localization #2344

@JarJasAskom

Description

@JarJasAskom

In file src\Core\Extensions\EnumExtensions.cs there is a function GetDisplayName. Line

    return displayAttribute?.Name ?? enumValue.ToString();

should be changed to

    return displayAttribute?.GetName() ?? enumValue.ToString();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions