Releases: aerni/statamic-livewire-forms
Releases · aerni/statamic-livewire-forms
v3.4.0
What's new
- Added support for the Toggle fieldtype. This is super useful for single checkbox fields like terms and conditions.
What's improved
- Labels and legends are now available for screen readers even if a field has
show_label: false
. This only applies to newly created themes. Feel free to copy-paste the field stubs into your existing themes.
v3.3.0
v3.2.0
v3.1.0
v3.0.0
What's new
- Added support for field conditions. Go nuts!
- Added support for the assets fieldtype.
- Complete refactor introducing a whole bunch of new concepts and customization options like themes, components, hooks, callbacks, and more. Make sure to read the docs.
What's breaking
- Dropped support for PHP 7.4
- Changed the
form
parameter on the component tohandle
. - The component view now defaults to
default
and not the handle of the form anymore. Use theview
parameter on the component to use a different view. - You now need a theme. Run
php please livewire-forms:theme
to create one. - There are lots of breaking changes in the form views. Migrate your old views to the views in the theme you just created.
- There are probably other changes as well. Just make sure to read the docs and follow the instructions. It should be pretty easy to upgrade.
v2.0.0
What's new
- Added support for Google reCAPTCHA v2.
- You can now use
show_label
on all fieldtypes. select
fields now also render theirinstructions
.
What's fixed
- Avoid name collisions when using multiple forms on the same page.
What's breaking
- Removed support for Antlers views. You can still import your form component in your Antlers views, but the form views themselves are only provided in Blade now. If you published your form views in Antlers, they will no longer work. You will need to publish the form views afresh and update the markup according to your changes.
- Multiple changes to the form views. If you published the views, you have to manually update them.
v1.2.0-beta.6
What's changed
- You no longer need to add
{{ captcha:scripts }}
or@captchaScripts
to your layout.
v1.2.0-beta.5
What's fixed
- The captcha scripts did not always load correctly.
Breaking changes
- If you use the captcha, please remove
{{ captcha:head }}
or@captchaHead
from your layout'shead
and add{{ captcha:scripts }}
or@captchaScripts
before the closingbody
tag instead.
v1.2.0-beta.4
What's fixed
- Avoid name collisions when using multiple forms on the same page.
v1.2.0-beta.3
What's new
- You can now use
show_label
on all fieldtypes. select
fields now also render theirinstructions
.
What's fixed
- The
{{ errors }}
tag used inerrors.antlers.html
caused a name collision with the form on password-protected pages. The tag was renamed to{{ livewire_forms }}
and also refactored. If you published this addon's views, you have to manually update the errors view.