Basic TextField
Status Variants
Multiline + Counter
With Adornments
<FodInput T="string" Label="Full name" Placeholder="Enter your name" />Explore text input, textarea, and numeric input components from Fod.UIComponents. Inputs support validation, adornments, counters, mobile-friendly attributes, and full accessibility features.
Basic FodInput with Label, Placeholder, and HelperText.
Basic TextField
Status Variants
Multiline + Counter
With Adornments
<FodInput T="string" Label="Full name" Placeholder="Enter your name" />FodInput integrates seamlessly with EditForm and DataAnnotationsValidator for validation.
Custom Validation Function
EditForm Integration
<FodInput T="string" Label="IDNP" Validation="ValidateIdnp" />InputMode triggers mobile keyboards (numeric, decimal), while AutoComplete and Name improve autofill accuracy.
Phone (numeric keyboard)
Amount (decimal keyboard)
Email with autocomplete
<FodInput T="string" InputMode="numeric" InputType="InputType.Telephone" AutoComplete="tel" />Handle focus, blur, keydown, and paste events. Demonstrate password visibility toggle.
Password Toggle
Events + AutoFocus
<FodInput T="string" AutoFocus="true" OnFocus="HandleFocus" OnBlur="HandleBlur" />FodInput supports Default, Warning, Destructive, and Success variants.
Default
Warning
Destructive
Success
<FodInput T="string" Variant="InputVariant.Warning" />Helper text conveys additional guidance and changes appearance with validation state.
Default
Warning
Destructive
Success
<FodInput T="string" HelperText="Helper message displayed here" />Basic text inputs with required attribute, immediate updates, and clearable functionality.
Basic with Required
Immediate + Clearable
<FodInput T="string" Required="true" Immediate="true" Clearable="true" Counter="true" MaxLength="64" />Different InputType values for Email, Password, URL, Search, and more.
Email & Password
URL & Search
Readonly / Disabled
<FodInput T="string" InputType="InputType.Email" />Multi-line text input with character counter and auto-grow functionality.
Basic with Counter
Auto-grow with Max Lines
<FodInput T="string" Multiline="true" Lines="3" Counter="true" MaxLength="240" />FodInput with generic types for int and decimal values with spin buttons.
Quantity with Spin Buttons
<FodInput T="int" ShowNumericButtons="true" OnIncrement="IncrementQuantity" OnDecrement="DecrementQuantity" />FodInput supports generic type parameters for int, decimal, DateTime, and more.
Age (int)
Price (decimal)
Birth Date
<FodInput T="int" Label="Age" InputType="InputType.Number" />FodInput supports right-to-left languages with proper text alignment and adornment mirroring.
Arabic Locale (RTL)
Hebrew + Bidi Caret/Selection
Manual verification checks:
<div dir="rtl" lang="ar"><FodInput T="string" Label="Arabic Label" /></div>FodInput follows accessibility best practices with proper ARIA attributes and keyboard support.
<FodInput T="string" Label="Email" Required="true" HelperText="Required field" />FodInput component properties and their descriptions.