-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class "Aerni\LivewireForms\Fields\Checkbox" not found #77
Comments
The class As for the checkbox, you should update the checkboxes field model binding in - \Statamic\Fieldtypes\Checkboxes::class => \Aerni\LivewireForms\Fields\Checkbox::class,
+ \Statamic\Fieldtypes\Checkboxes::class => \Aerni\LivewireForms\Fields\Checkboxes::class, And also rename the view |
Okay, thank you. That helped with this error. If I try to view the contact form now, I am getting: "Livewire \ Exceptions \ PropertyNotFoundException Property [$component] not found on component: [contact-form]" This is strange for me, because the page has just: {{ livewire:form handle="contact" view="contact" }} Which should be fine. So when I check the contact.blade file
If I delete all "@formfield()" snippets, the page is rendered (without the form, because no fields are there to be rendered" But @formfield('xy') should be correct to display the fields. And all fields are in the fields blueprint. |
It looks like the |
Hi there,
one Statamic installation has the problem, that if you try to enter the contact form, you only got the following error message:
Class "Aerni\LivewireForms\Fields\Checkbox" not found (View: /var/www/html/vendor/aerni/livewire-forms/resources/views/dynamic-form.blade.php)
It wasn't my site, I never used your plugin. I am just the new tech guy trying to find out, why the form is not working.
The text was updated successfully, but these errors were encountered: