This type contains the following members.

public abstract class InputBase<TValue>: IDisposable
Inheritance:
ObjectComponentBaseInputBase<TValue>
Implements:
IDisposable

Constructors

InputBase() Constructs an instance of InputBase.

Properties

CascadedEditContext
FieldId
IsDisabled
AdditionalAttributes Gets or sets a collection of additional attributes that will be applied to the created element.
Value Gets or sets the value of the input. This should be used with two-way binding.
ValueChanged Gets or sets a callback that updates the bound value.
ValueExpression Gets or sets an expression that identifies the bound value.
FieldName
EditContext Gets the associated .
FieldIdentifier Gets the for the bound value.
CurrentValue Gets or sets the current value of the input.
CurrentValueAsString Gets or sets the current value of the input, represented as a string.
CssClass Gets a CSS class string that combines the class attribute and properties. Derived components should typically use this value for the primary HTML element's 'class' attribute.

Methods

FormatValueAsString(TValue) Formats the value as a string. Derived classes can override this to determine the formatting used for .
TryParseValueFromString(string, TValue, string) Parses a string to create an instance of . Derived classes can override this to change how interprets incoming values.
SetParametersAsync(ParameterView)
Dispose()
Dispose(bool)