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

14 lines
342 B
TypeScript

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