Skip to main content

CreationGetAllowedPattern

Callable

  • CreationGetAllowedPattern(input): RegExp

  • Returns the allowed-pattern regex for a field.


    Parameters

    • input: HTMLInputElement

      The input element

    Returns RegExp

    • The allowed regex or null