ObjectSelector

A base class for all other Object Selector widgets. Should not be used or instantiated directly.

Example
define([
  "blueconic/api/widgets/selector/ObjectSelector"
], function(ObjectSelector) {
  var objectSelector = new ObjectSelector();
  // ...
});

Properties

multiple Boolean

Whether it's possible to select multiple values.

searchOnFocus Boolean

Whether a search is done when the input field receives the focus.

value Object

In single select mode this will hold the id of the object, or null if nothing was selected. In multiple select mode it holds an array of ids, or an empty array [] if nothing was selected.

Events

onChange()

Event thrown when value changes.