bitwarden-estensione-browser/libs/components/src/form-field/form-field-control.ts

22 lines
380 B
TypeScript

export type InputTypes =
| "text"
| "password"
| "number"
| "datetime-local"
| "email"
| "checkbox"
| "search"
| "file";
export abstract class BitFormFieldControl {
ariaDescribedBy: string;
id: string;
labelForId: string;
required: boolean;
hasError: boolean;
error: [string, any];
type?: InputTypes;
spellcheck?: boolean;
focus?: () => void;
}