@vendasta/store
Version:
Components and data for Store
19 lines (18 loc) • 585 B
TypeScript
import { ControlType, FieldBase, FieldBaseOptions } from './field-base';
export declare type TextboxType = 'text';
export interface TextBoxFieldOptions extends FieldBaseOptions {
textboxType: TextboxType;
prefix?: string;
suffix?: string;
displayOnly?: boolean;
}
export declare class TextboxField extends FieldBase<string> {
readonly controlType: ControlType;
textboxType: TextboxType;
prefix: string;
suffix: string;
regexValidator: string;
regexErrorMessage: string;
displayOnly: boolean;
constructor(options: TextBoxFieldOptions);
}