Skip to content

Allow defining sort order for StatusIndicatorField labels #18

Description

@zackkatz

It should be possible to define a custom sort order for the StatusIndicatorField. Currently, the sorting is alphabetical, which doesn't always align with the expected sorting.

The default statuses: 'Active', 'Inactive', 'Info', 'Warning', 'Error' should be in that order, but won't be when sorting.

The EnumField provides label and value; perhaps this should be applied to the StatusIndicatorField (and all fields?) so that sorting can be controlled.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions