new OptionsApi()
OptionsApi constructor
new OptionsApi(array $props)
Parameters
| Name | Type | Default |
|---|---|---|
| $props * | array |
– |
For the $props parameter, you pass an array with the following data, which will be used to set up the Kirby\Form\OptionsApi object:
| Name | Type |
|---|---|
| data * | array |
| fetch | string |
| options | array|string |
| text | string |
| url * | string |
| value | string |