InputProps: Omit<BaseInputProps<
    | HTMLInputElement
    | HTMLTextAreaElement
    | HTMLSelectElement
    | HTMLDivElement>, "prefix"> & {
    data-test?: string;
    invalid?: boolean;
    mask?: string;
    multiline?: boolean;
    prefix?: AddonProps;
    rows?: number;
    suffix?: AddonProps;
    type?: InputType;
    variant?: InputVariant;
}

Type declaration

  • Optionaldata-test?: string
  • Optionalinvalid?: boolean
  • Optionalmask?: string

    Defines a mask pattern for input, restricting user input to a specific format. Example: Mask '99/99/9999' shows //____ and formats '12312023' as '12/31/2023'. Note: Use '\9' to allow number, '\a' to allow a letter or '*' to allow letter or number, ex.: DE8\9 9999 9999 9999 9999 99 shows DE89 ____ ____ ____ ____ __

  • Optionalmultiline?: boolean
  • Optionalprefix?: AddonProps
  • Optionalrows?: number
  • Optionalsuffix?: AddonProps
  • Optionaltype?: InputType
  • Optionalvariant?: InputVariant

This component has been deprecated. Please use assistant-ui instead.