$fields->toProps()
Returns an array with the props of each field for the frontend
$fields->toProps(bool $defaults = false): array>
Parameters
| Name | Type | Default |
|---|---|---|
| $defaults | bool |
false
|
Return type
array<string, array<string, mixed>>