@namespace Connected.Components @inherits FormComponent @typeparam T @code { protected virtual RenderFragment InputContent => // note: Mask needs to remain before Text! @; protected virtual RenderFragment PickerContent => null; protected virtual RenderFragment Render => @
@if (PickerVariant != PickerVariant.Static) { @if(InputContent != null) { @InputContent } } @if (IsOpen && PickerVariant == PickerVariant.Inline) {
@if(PickerContent != null){ @PickerContent }
@if (PickerActions != null) {
@PickerActions(this)
}
} else if (PickerVariant == PickerVariant.Static) {
@if(PickerContent != null){ @PickerContent }
@if (PickerActions != null) {
@PickerActions(this)
}
} else if(IsOpen && PickerVariant == PickerVariant.Dialog) {
@if(PickerContent != null){ @PickerContent }
@if (PickerActions != null) {
@PickerActions(this)
}
}
@if (PickerVariant == PickerVariant.Inline) { }
; }