StellarAdmin is still in development. We'd love for you to try it out and get your feedback, but please be advised that your may run into bugs. Changes to public APIs may also occur.


Editors determine how a field's value is display in read-only views such as the list and detail view, and how the value is edited in the form views (i.e. the edit and create views).

StellarAdmin currently has support for the following field editors:

Default editors

StellarAdmin tries to apply intelligent defaults to determine the editor for a particular field based on the data type of the field. The table below lists the circumstances under which each editor will be configured by default.

Editor Default for
Boolean Editor All fields with a data type of bool
Date/Time Editor All fields with a data type of DateTime or DateTimeOffset
Select Editor All fields with an enum data type.
Text Editor All fields that do not match any of the other criteria

Specifying an editor

If you are not happy with the defaults, or you want to specify extra parameters for the editor, you can specify an editor in the configureField callback when defining a field:

// Specify a date-only field editor
CreateField(l => l.StartDate, field => field.UseEditor<DateEditor>());

Editor types

Boolean Editor

The BooleanEditor allows you to edit boolean values.

Date Editor

The DateEditor allows you to edit date values.

Date/Time Editor

The DateTimeEditor allows you to edit date/time values.

Select Editor

The SelectEditor allows you to select an item from a list of values. When used with an enum data type, the editor automatically displays the members of the type. You can use this in combination with the DisplayAttribute the specify the display text of the select editor.

public enum InterventionLinkType
    [Display(Name = "More Information")]
    MoreInfo = 0,

    [Display(Name = "Buy Item")]
    Buy = 1

Text Editor

The TextEditor allows you to edit a value using a simple text input field.