New to Kendo UI for Angular? Start a free 30-day trial
FormFieldComponent
Represents the Kendo UI FormField component for Angular. Use this component to group form-bound controls (Kendo Angular components or native HTML controls). Applies styling and behavior rules.
html
<kendo-formfield>
<kendo-label [for]="firstName"text="First Name"></kendo-label>
<kendo-textbox formControlName="firstName" #firstName></kendo-textbox>
<kendo-formhint>Enter your name.</kendo-formhint>
<kendo-formerror>First name is required.</kendo-formerror>
</kendo-formfield>
Selector
kendo-formfield
Inputs
Name | Type | Default | Description |
---|---|---|---|
orientation |
|
|
Specifies the layout orientation of the form field. |
showErrors |
|
|
Specifies when to show the error messages:
|
showHints |
|
|
Specifies when to show the hint messages:
|