Function setValue

  • Sets the value of an input, select, or textarea softly, i.e. without changing anything if the current input value already matches the given value.

    Parameters

    • el: HTMLElement
    • value: unknown

    Returns void