Form

Example

<kendo-form>
    <form-items></form-items>
    <grid />
    <messages />
    <validatable></validatable>
</kendo-form>

ChildTags

Tag Name Details
form-items FormItemsTagHelper
grid FormGridSettingsTagHelper
messages FormMessagesSettingsTagHelper
validatable FormValidatableSettingsTagHelper

Attributes

Attribute Type Description
name String Sets the name of the component.
as-child-component Boolean
focus-first Boolean Specifies if the first editor of the form will be focused on initialization.
deferred Boolean Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-template Boolean When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
buttons-template String Specifies the template which is used for rendering the From buttons.
buttons-template-handler String Specifies the template which is used for rendering the From buttons.
buttons-template-id String Specifies the template which is used for rendering the From buttons.
buttons-template-view IHtmlContent Specifies the template which is used for rendering the From buttons.
format-label String Callback function that could be used to change the default format of the automatically generated labels.
form-data Object Provides the data model of the Form. The widget renders the form fields based on their data type, unless the items option is specified.
has-client-component Boolean
layout String Specify the layout of Form content. Valid options are: grid: This is equivalent to display: grid. It defines the form element as a grid container and establishes a new grid formatting context for its contents..
on-change String Triggered when the form model is updated.
on-clear String Triggered when the form is cleared.
on-submit String Triggered when the form is submitted.
on-validate String Fired when the validation of the entire form completes.
on-validate-field String Fired when the validation state of a field changes.
orientation String Configures the Form orientation. Available options are "horizontal" and "vertical".By default, the Form is rendered with vertical orientation.
sanitize-id Boolean
size String Sets a value controlling size of the component. Can also be set to the following string values: "small"; "medium"; "large" or "none".
In this article
Not finding the help you need?