Hierarchy

Properties

Optional name

name: undefined | string

Display name.

Optional onChange

onChange: undefined | function

Function called when the value of a field changes.

param

New field value.

Optional onRender

onRender: undefined | function

Function called after the widget is displayed.

param

The root HTML element corresponding to the displayed widget.

Optional readonly

readonly: undefined | false | true

Read-only attribute.

The default value is false. If you want to display the value in the read-only mode, pass true. If you want to display it in the editing mode, either do not specify the value or pass false.

Optional required

required: undefined | false | true

Whether the field is required.

By default, the property’s value is false.

Optional tooltip

tooltip: undefined | string

Tooltip.