OTRS API Reference JavaScript

Namespace: Core.Agent.Admin.DynamicFieldMultiselect

Core.Agent.Admin. DynamicFieldMultiselect

This namespace contains the special module functions for the DynamicFieldMultiselect module.
Author:
  • OTRS AG
Source:

Methods

(static) AddValue(ValueInsert) → {Boolean}

This function adds a new value to the possible values list
Parameters:
Name Type Description
ValueInsert Object HTML container of the value mapping row.
Source:
Returns:
Returns false
Type
Boolean

(static) Init()

Initialize module functionality
Source:

(static) RecreateDefaultValueList() → {Boolean}

This function re-creates and sort the Default Values list taking the Possible Values as source, all deleted values will not be part of the re-created value list
Source:
Returns:
Returns false
Type
Boolean

(static) RemoveValue(IDSelector) → {Boolean}

This function removes a value from possible values list and creates a stub input so the server can identify if a value is empty or deleted (useful for server validation) It also deletes the Value from the DefaultValues list
Parameters:
Name Type Description
IDSelector String ID of the pressed remove value button.
Source:
Returns:
Returns false.
Type
Boolean