Skip to content

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

Closed

Description

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();

Activity

  1. added
    triage
    on Jul 9, 2024
  2. vnbaaij commented on Jul 9, 2024

    @vnbaaij
    Collaborator

    Good catch! Will change.

  3. added
    bug
    and removed
    triage
    on Jul 9, 2024
  4. added a commit that references this issue on Jul 9, 2024
    99567f5
  5. added a commit that references this issue on Jul 10, 2024
    25d1e28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions