@namespace Connected.Components @typeparam T @inherits InputBase
@if (Adornment == Adornment.Start) { } @if (Lines > 1) { @*Note: double mouse wheel handlers needed for Firefox because it doesn't know onmousewheel*@ @*note: the value="@_internalText" is absolutely essential here. the inner html @Text is needed by tests checking it*@ } else { @*Note: double mouse wheel handlers needed for Firefox because it doesn't know onmousewheel*@ @if (Disabled) { @*Note: this div must always be there to avoid crashes in WASM, but it is hidden most of the time except if ChildContent should be shown. In Disabled state the tabindex attribute must NOT be set at all or else it will get focus on click *@
@ChildContent
} else { @*Note: this div must always be there to avoid crashes in WASM, but it is hidden most of the time except if ChildContent should be shown.*@
@ChildContent
} } @if (_showClearable && !Disabled) { } @if (Adornment == Adornment.End) { } @if (Variant == Variant.Outlined) {
} @if (!HideSpinButtons) {
}