Class SelectorOptions<T>
Common options for lookup fields.
public record SelectorOptions<T> : IEquatable<SelectorOptions<T>> where T : IEntity<T>
Type Parameters
T
- Inheritance
-
SelectorOptions<T>
- Implements
- Derived
- Inherited Members
Properties
Choices
Query describing the options from which to select. Default: all entities of the given type.
public IEntityQuery<T>? Choices { get; set; }
Property Value
- IEntityQuery<T>
Filter
Limit the displayed options based on user-entered text. Default: searches entity Text property.
public FilterChoices<T>? Filter { get; set; }
Property Value
MaximumChoiceCount
Limit the number of options to display. Default: heuristics based on entity type.
public int? MaximumChoiceCount { get; set; }
Property Value
- int?