aerni / statamic-livewire-forms

Supercharge your Statamic forms with Livewire
https://statamic.com/addons/aerni/livewire-forms
Other
28 stars 2 forks source link

Autoload custom field views #31

Closed aerni closed 1 year ago

aerni commented 1 year ago

This PR adds the ability to autoload field views by their handle and closes #28.

Example: You've got a subscription field of type radio. You don't want to use a plain old radio field but something fancier. Simply create a subscription.blade.php view within your theme's fields folder to autoload your fancy radio field.

You may also manually override a field's view by adding view: whatever_view_you_want to the config in the blueprint.