Closed aerni closed 1 year ago
This PR adds support for Statamic's new spacer fieldtype. Follow these instructions to use the spacer fieldtype.
Add the spacer fieldtype to the models array in your livewire-forms.php config file:
livewire-forms.php
'models' => [ + \Statamic\Fieldtypes\Spacer::class => \Aerni\LivewireForms\Fields\Spacer::class, ],
Add an empty spacer.blade.php view in the fields directory of each of your themes. Example: resources/views/livewire/forms/default/fields/spacer.blade.php
spacer.blade.php
fields
resources/views/livewire/forms/default/fields/spacer.blade.php
This PR adds support for Statamic's new spacer fieldtype. Follow these instructions to use the spacer fieldtype.
Add the spacer fieldtype to the models array in your
livewire-forms.php
config file:Add an empty
spacer.blade.php
view in thefields
directory of each of your themes. Example:resources/views/livewire/forms/default/fields/spacer.blade.php