File

projects/components/widgets/data/form/src/form-field/form-field.directive.doc.ts

Description

The wmFormField component defines the form field widget.

Inputs

class
Type : string

Class of the widget.

datavalue
Type : string

This is the default value to display value for an editor widget. Note that the display value is just what the user sees initially, and is not always the dataValue returned by the widget.

Bindable: true

displayname
Type : string

Sets the title of the form field component.

field
Type : string

The binding for the column. It is the target column in the data object the grid is bound to.

filterOn
Type : string

Filters the values for the current field when the 'Filter on field' value changes.

inputtype
Type : string

This property specifies the type of the input.

matchmode
Type : string

This property specifies how to apply the filter.

maxdefaultvalue
Type : string

Default value to be set in second widget, when range is selected.

maxplaceholder
Type : string

Placeholder to be shown in second widget, when range is selected.

name
Type : string

Name of the form field widget.

validationtype
Type : string
Default value : 'default'

This property defines the type of validation applied on the form.

Allowed Values: default, html, no validations

default: On form submit, Validation messages will be shown under the form fields.

html: On form submit, the HTML and inline validations will be applied.

no validations: No validations are performed on form submit.

results matching ""

    No results matching ""