Skip to content

Interface: ReviewFormFieldTextarea

Textarea field. Returned for the built-in review body and also for custom questions of type free_text_choice_ans. Custom variants carry field_id and the additional custom-question metadata.

Extends

Properties

category?

ts
optional category?: string;

error_messages?

ts
optional error_messages?: Record<string, string> | unknown[];

Inherited from

ReviewFormFieldBase.error_messages


field_id?

ts
optional field_id?: number;

field_key

ts
field_key: string;

Inherited from

ReviewFormFieldBase.field_key


field_type

ts
field_type: "textarea";

help_text?

ts
optional help_text?: string;

helper_text?

ts
optional helper_text?: {
  char_left: string;
  char_limit: string;
  char_need: string;
};

char_left

ts
char_left: string;

char_limit

ts
char_limit: string;

char_need

ts
char_need: string;

input_type?

ts
optional input_type?: string | null;

label

ts
label: string;

Inherited from

ReviewFormFieldBase.label


title?

ts
optional title?: string;

validation

ts
validation: {
  max_length?: number;
  min_length?: number;
  required: boolean;
};

max_length?

ts
optional max_length?: number;

min_length?

ts
optional min_length?: number;

required

ts
required: boolean;

Overrides

ReviewFormFieldBase.validation