Class
caplin.presenter.control.selectionfield

ExtJsComboBoxControlAdaptor

The class has been deprecated and may be removed in future releases.
A control adaptor that allows the ExtJs ComboBox control to be used to render instances of caplin.presenter.node.SelectionField within presenter.

The ExtJs ComboBox control has the logical name ext-combo-box, and can be used within templates as follows:

  <span data-bind="value:selectionFieldProperty, control:'ext-combo-box'"></span>

By default caplin.presenter.node.SelectionField#options are used to generate validation errors if the user types something other than one of the available options, but you can invoke caplin.presenter.node.SelectionField#allowInvalidSelections with true if you'd prefer options to act as a list of suggestions only.

Constructor Summary

Attributes Name and Description
caplin.presenter.control.selectionfield.ExtJsComboBoxControlAdaptor()

This class is constructed by presenter automatically on your behalf.

Methods implemented from class caplin.presenter.control.ControlAdaptor:
destroy, getElement, onViewReady, setElement, setOptions, setPresentationNode

Constructor Detail

caplin.presenter.control.selectionfield.ExtJsComboBoxControlAdaptor()

This class is constructed by presenter automatically on your behalf.

Deprecated
This class has been deprecated. Please use caplin.presenter.control.selectionfield.ExtJsComboBoxControl instead.