createTag(tagName, saveTagsAfterCreate) → {object}

Creates a tag at the remote store (the same location from which available tags are retrieved). This
function is called regardless of whether or not an existing tag was created. It is expected that
the REST API will be able to handle duplicated (e.g. not recreate a duplicate but just return the
details of the existing tag).

onRemoveEditTag()

onSave()

This extends the inherited function to check whether
or not there is anything selected in the ComboBox. If so it uses the data to create the edit tag rather than
saving. This ensures that all of the tags are captured and saved.

Fires:

onTagCreated(payload)

Parameters:

onValueEntryKeyPress(e)

This function is connected via the widget template. It occurs whenever a key is pressed whilst
focus is on the input field for updating the property value. All keypress events other than the
enter and escape key are ignored. Enter will save the data, escape will cancel editing

placeReadOnlyTag(tagWidget, index)

Parameters:

postCreate()

Extends the inherited function to add a custom
event handler for "ALF_REMOVE_TAG" events that are fired from descendant DOM nodes and to iterate over the
read only tags created by calls to the createReadOnlyTag
function and calls placeTag on each of them to add them
to the widget.