Module: alfresco/forms/SingleComboBoxForm

alfresco/forms/SingleComboBoxForm

This extends the SingleTextFieldForm to replace the text field with a ComboBox. As such it is necessary to provide additional configuration information that the ComboBox can use to retrieve the options to be displayed.
Author:
  • Dave Draper
License:
Source:

Members

optionsPublishPayload :object

This is the payload that will be published in order to request the avilable options to display in the ComboBox. It defaults to null so will need to be configured when this widget is used
Type:
  • object
Default Value:
  • null
Source:

optionsPublishTopic :string

This is the topic that should be published on in order to request the available options to display in the ComboBox. It defaults to null so will need to be configured when this widget is used.
Type:
  • string
Default Value:
  • null
Source:

queryAttribute :string

This is the attribute that will be queried in each returned item for the ComboBox. It defaults to "name" but can be overridden in configuration as required.
Type:
  • string
Default Value:
  • "name"
Source:

Methods

postMixInProperties()

Overridden to set the "widgets" attribute to be a single ComboBox.
Source: