Input essentials
The following inputs are available for use
Each input has the following properties
CsInputForBool<TValue>CsInputForDateTime<TValue>CsInputForFile<TValue>CsInputForMultiSelect<TItem, TValue>CsInputForNumber<TValue>CsInputForSelect<TValue>CsInputForText<TValue>CsInputForTimeSpan<TValue>
Each input has the following properties
FieldName[optional]
the html name attribute value. Used for form submission.HtmlId[optional]
the html id attribute value. Used for label association.TabIndex[optional]
the html tabindex attribute value. Used for tab navigation.IsReadonly[optional(false by default)]
If true, the input is readonly.IssueFieldChanged[optional(true by default)]
If true, the input will issue a field changed event. inside CsForm components, this will trigger validation.QueryParameterName[optional]
If set, the input will be added to the query string of the url. The value of this property is the name of the query parameter. The value of the query parameter is the value of the input.Icon[optional]
An icon to display in the input.AutoFocus[optional]
If true, the input will be focused when the page loads.
Parameter: QueryParameterName
Current Value: _appended_appended_appended_appended_appended_appended_appended_appended_appended
Append text
Razor Code
CsInputForText<String>
Razor Code
CsInputForText<CustomObject>
CustomObject: initial text (12)
Razor Code
CsInputForNumber<>
using int
using int?
Razor Code
CsInputForBool<Boolean|Boolean?>
Razor Code
CsInputForDateTime<DateTime|DateTimeOffset|TimeOnly|DateOnly>
using DateTime and InputDateType.DateTimeLocal
using DateTime and InputDateType.Date
using DateTime and InputDateType.Time
using DateTimeOffset and InputDateType.DateTimeLocal
using DateTimeOffset and InputDateType.Date
using DateTimeOffset and InputDateType.Time
Razor Code
CsInputForTimeSpan<TimeSpan|TimeSpan?>
Razor Code
CsInputForSelect<ViewModel>
using html select
using drop down
using search
Razor Code
CsInputForSelect<Enum>
using html select
using drop down
Razor Code
CsInputForMultiSelect<,>
using IsDropDown = True
using IsDropDown = False
Razor Code
CsInputForFile<IBrowserFile|List<IBrowserFile>>
Dateiauswahl
Bitte wählen Sie eine Datei aus.
Dateiauswahl
Bitte wählen Sie eine Datei aus.
Dateiauswahl
Bitte wählen Sie eine Datei aus.
Razor Code