Class: SelectionFieldComponent

SelectionFieldComponent(dataObject, options)

SelectionFieldComponent provides a dropdown selector for use in FormComponents.

Constructor

new SelectionFieldComponent(dataObject, options)

Parameters:
Name Type Description
dataObject DataModel
options Object see FormFieldComponent for more options (like `label`)
Properties
Name Type Description
items Array.<Object> an array of [display name, value] to be used as choices in the selector
Source: