Type Alias SharedTextInputElementInputs

SharedTextInputElementInputs: {
    allowedInputs?: string | RegExp;
    blockedInputs?: string | RegExp;
    disableBrowserHelps?: boolean;
    disabled?: boolean;
    fitText?: boolean;
    placeholder?: string;
    value: string;
}

Inputs shared between the multiple input elements.

Type declaration

  • OptionalallowedInputs?: string | RegExp

    Only letters in the given string or matches to the given RegExp will be allowed. blockedInputs takes precedence over this input.

    For example: if allowedInputs is set to "abcd" and blockedInputs is set to "d", only "a", "b", or "c" letters will be allowed.

  • OptionalblockedInputs?: string | RegExp

    Any letters in the given string or matches to the given RegExp will be blocked.

  • OptionaldisableBrowserHelps?: boolean

    Disable all browser helps like spellchecking, autocomplete, etc.

  • Optionaldisabled?: boolean

    Set to true to trigger disabled styles and to block all user input.

  • OptionalfitText?: boolean

    Set this to true to make the whole element size to only fit the input text.

  • Optionalplaceholder?: string

    Shown when no other text is present. Input restrictions do not apply to this property.

  • value: string