Form Field
Floating label inputs and examples.
Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.
Form Field
MgFormFieldA modern, floating-label input field that provides a more interactive and visually appealing form experience.
API Reference
MgFormField
| Property | Type | Default | Description |
|---|---|---|---|
| DisplayText | string | "" | Floating label text for the field. |
| CurrentValue | string | "" | Current value of the input; bind for two-way updates. |
| FieldValueChanged | EventCallback<string> | - | Callback when the input value changes. |