JsonField
Sourceimport { JsonField } from "@prestojs/viewmodel";
JsonField<T>
Hierarchy
- Field<T,JSON|T>
- JsonField
Constructor
Arguments:
Argument | Type | Description | |
---|---|---|---|
options An object with the properties below | |||
options.asyncChoices | AsyncChoicesInterface | ||
options.blank | boolean | ||
options.blankAsNull | boolean | ||
options.choices | |[SingleValueT, string][] | ||
options.defaultValue | null|ValueT| | ||
options.formatterProps | Record | ||
options.helpText | string | ||
options.label | string | ||
options.readOnly | boolean | ||
options.widgetProps | Record | ||
options.writeOnly | boolean |
Methods
Returns:{[fieldName: string]: any }
Returns:{[fieldName: string]: any }
Returns:string