Hierarchy

  • UpTextMainEditControl
    • UpUriEditControl

Accessors

  • get maxLength(): number
  • Gets the maximum length of the control.

    Returns number

  • set maxLength(value): void
  • Sets the maximum length of the control.

    Parameters

    • value: number

    Returns void

  • get required(): boolean
  • Gets the control's required state.

    Returns boolean

  • set required(value): void
  • Sets the control's required state

    Parameters

    • value: boolean

    Returns void

Methods

  • 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'
    }
  • Returns the value of the field.

    Returns string

  • Sets a value for the control.

    Parameters

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

    Returns void