Extension of the Listbox control that shown as an unordered list in the browser.

Hierarchy

  • SelectMainControl
    • UpListboxUnorderedControl

Properties

element: HTMLSelectElement

Accessors

  • get multiple(): boolean
  • Retrieves the boolean value indicating whether multiple items can be selected from a list.

    Returns boolean

  • get required(): boolean
  • Check if input is required.

    Returns boolean

  • set required(value): void
  • Set input to required / not required.

    Parameters

    • value: boolean

    Returns void

Methods

  • Checks the controls validity.

    Returns Promise<ValidationInfo>

  • Deselects given entries.

    Parameters

    • entries: string[] | JQuery<HTMLElement>
    • Optional fireOnchange: boolean

      Triggers the onchange event.

    Returns void

  • Get the current value of the control.

    Returns null | string | string[]

    Display text of the selected option as string.

    • It returns null when no option is selected
    • An array containing the value of each selected option when there is at least one and it is possible to select more.
  • Returns matching entries.

    Parameters

    • Optional dataName: string
    • Optional dataValue: string

    Returns null | JQuery<HTMLElement>

  • Returns a list with all selected entries.

    Returns null | JQuery<HTMLElement>

  • Returns string

  • Checks if at least one option is selected from current control instance.

    Returns boolean

    It returns true when at least one option is selected.

  • Reloads the control.

    Parameters

    • reset: boolean

      Reset the control to its first entry.

    Returns Promise<void | Error>

  • Deselects all entries.

    Parameters

    • Optional fireOnchange: boolean

      Triggers the onchange event.

    Returns void

  • Selects all entries.

    Parameters

    • Optional fireOnchange: boolean

      Triggers the onchange event.

    Returns void

  • Selects given entries.

    Parameters

    • entries: string[] | JQuery<HTMLElement>
    • Optional fireOnchange: boolean

      Triggers the onchange event.

    Returns void

  • Selects the first entry.

    Returns void

  • Set display value of the control by record id.

    • can be asynchronous, depending on the control type.

    Parameters

    • value: string | string[]

      The display value to be set.

    • Optional settings: {
          triggerOnchange: TriggerValues;
      }
      • triggerOnchange: TriggerValues

    Returns void

  • Sets the control required or not required.

    Parameters

    • value: boolean

    Returns void

  • Set value of the control.

    • can be asynchronous, depending on the control type.

    Parameters

    • value: string | string[]

      The value to be set.

    • Optional settings: {
          triggerOnchange: TriggerValues;
      }
      • triggerOnchange: TriggerValues

    Returns void

  • Dispatches the onchange event.

    Returns void