Skip to main content

CreationCreateLabeledInput

Callable

  • CreationCreateLabeledInput(labelKey, inputId, type, value, maxLength, parent): HTMLInputElement

  • Creates a labeled input for the creation screen.


    Parameters

    • labelKey: string

      The text key for the label

    • inputId: string

      The input element ID

    • type: string

      The input type

    • value: string

      The default value

    • maxLength: string | number

      The max input length

    • parent: HTMLElement

      The parent element

    Returns HTMLInputElement

    • The input element