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