- _inputItem(
item: {
default?: string | number | boolean;
label: string;
options?: string[];
props?: any;
rules?: {
max?: number;
message?: string;
min?: number;
required?: boolean;
}[];
secret?: boolean;
tooltip?: string;
type: "password"
| "input"
| "select"
| "textarea";
value?: string | number | boolean;
},
key: string,
inputRef?: RefObject<undefined | InputRef>,
): ReactElement Parameters
- item: {
default?: string | number | boolean;
label: string;
options?: string[];
props?: any;
rules?: {
max?: number;
message?: string;
min?: number;
required?: boolean;
}[];
secret?: boolean;
tooltip?: string;
type: "password"
| "input"
| "select"
| "textarea";
value?: string | number | boolean;
} - key: string
Optional
inputRef: RefObject<undefined | InputRef>
Returns ReactElement
Build input item