interface InputObject {
    active?: boolean;
    key: string;
    label?: string;
    placeholder?: string;
    type?: string;
    value?: string;
}

Properties

active?: boolean

Whether this choice is currently active.

key: string

The key to retrieve choices.

label?: string

The label to display (can be localized).

placeholder?: string

The placeholder text for the input.

type?: string

The HTML type property of input.

value?: string

The value of the choice.