Hierarchy

  • UpDataEditControl
    • UpCheckEditControl

Properties

Accessors

Methods

Properties

element: HTMLInputElement

Accessors

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

    Returns boolean

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

    Parameters

    • value: boolean

    Returns void

Methods

  • Set the state of the element to checked.

    Parameters

    • Optional settings: {
          triggerOnchange: "disabled" | "strict" | "always";
      }
      • triggerOnchange: "disabled" | "strict" | "always"

    Returns void

  • Checks control validity.

    Returns Promise<ValidationInfo>

    Example

    const validityResult = await ix.util.getUp("<GUID>").checkValidity();

    // example of `validityResult` - field is required, but was not filled
    ValidationInfo {
    valStatus: false,
    valMessage: 'Please make a selection',
    valType: 'required'
    }
  • Get the elements checked state.

    Returns boolean

  • Toggle the state of the element.

    Parameters

    • Optional settings: {
          triggerOnchange: "disabled" | "strict" | "always";
      }
      • triggerOnchange: "disabled" | "strict" | "always"

    Returns void

  • Set the state of the element to unchecked.

    Parameters

    • Optional settings: {
          triggerOnchange: "disabled" | "strict" | "always";
      }
      • triggerOnchange: "disabled" | "strict" | "always"

    Returns void