Component Overview
All input components are defined in theUiMetadataFramework.Basic.Inputs namespace. Each component has a corresponding C# type that you use in your form request classes.
Boolean
Boolean
Number
Number
Purpose
Captures numeric values from the user.C# Types
Supports multiple numeric types:intdecimaldoubleshortlongbyte
Component Type
numberUsage Example
Implementation
Defined inNumberInputComponentBinding.cs:- Server types:
int,decimal,double,short,long,byte - Component type:
"number" - Category: Input
Text
Text
Textarea
Textarea
Password
Password
DateTime
DateTime
Dropdown
Dropdown
Purpose
Allows users to select a single value from a predefined list of options.C# Type
Component Type
dropdownBasic Usage
Properties
Value(T?): The selected value
DropdownAttribute
Configures the dropdown data source.source: Type that implementsIDropdownInlineSourceorITypeaheadRemoteSource
DropdownItem
Represents a single item in the dropdown.IDropdownInlineSource
Interface for static dropdown data sources.EnumSource<T>
Built-in source for enum-based dropdowns.HighPriority becomes “High priority”).Implementation
Defined inDropdownValue.cs:Typeahead
Typeahead
Purpose
Provides autocomplete functionality with dynamic data loading based on user input. Ideal for large datasets or remote data sources.C# Type
Component Type
typeaheadBasic Usage
Properties
Value(T?): The selected value
TypeaheadAttribute
Configures the typeahead data source.source: Type that implementsITypeaheadRemoteSourceorIDropdownInlineSource
ITypeaheadRemoteSource
Marker interface for remote typeahead sources.TypeaheadItem<T>
Represents a single item in the typeahead results.Remote Source Arguments
You can pass parameters to remote sources usingRemoteSourceArgumentAttribute.parameter: Name of the request parameter on the remote sourcesource: Name of the input field to get the value fromsourceType: Type of value to extract (e.g., “value”)
Implementation
Defined inTypeaheadValue.cs:Paginator
Paginator
Purpose
Controls pagination parameters forPaginatedData<T> output components. This is typically a hidden input that works behind the scenes.C# Type
Component Type
paginatorUsage Example
Properties
PageIndex(int?): Page number to retrieve (0-based)PageSize(int?): Number of records per pageOrderBy(string?): Property name to sort byAscending(bool?): Sort direction (true for ascending, false for descending)
Implementation
Defined inPaginator.cs:Notes
- Always hidden from the user interface
- Automatically populated by the client when user interacts with paginated data
- Works in conjunction with
PaginatedData<T>output component
See Also
- Output Components - Learn about output components
- Input Attributes - Configure input behavior with attributes
- Forms - Understanding forms in UI Metadata Framework