@namespace Connected.Components @inherits UIComponent
@InputContent @if (!String.IsNullOrEmpty(Label)) { @Label }
@if (Error || !String.IsNullOrEmpty(HelperText) || !String.IsNullOrEmpty(CounterText)) {

@if (Error) {
@ErrorText
} else if (!String.IsNullOrEmpty(HelperText)) {
@HelperText
} @if (!String.IsNullOrEmpty(CounterText)) {
@CounterText
}

} @ChildContent