Skip to content

Releases: aerni/statamic-livewire-forms

v3.4.0

27 May 15:14
Compare
Choose a tag to compare

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

25 May 18:40
ceaa845
Compare
Choose a tag to compare

What's fixed

  • Fixed mail attachments (requires Statamic 3.3.12+)
  • Fixed an issue that wouldn't let you select a new file in an asset field with max_files: 1
  • Asset fields are now reset after the form has been submitted

What's new

  • Required Statamic 3.3.12+

v3.2.0

17 Mar 23:02
Compare
Choose a tag to compare

What's new

  • Added support for Laravel 9

v3.1.0

17 Mar 18:46
Compare
Choose a tag to compare

What's new

  • Added support for Statamic 3.3

v3.0.0

21 Jan 15:32
Compare
Choose a tag to compare

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 to handle.
  • The component view now defaults to default and not the handle of the form anymore. Use the view 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

04 Aug 06:43
5602efb
Compare
Choose a tag to compare

What's new

  • Added support for Google reCAPTCHA v2.
  • You can now use show_label on all fieldtypes.
  • select fields now also render their instructions.

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

02 Aug 10:36
Compare
Choose a tag to compare
v1.2.0-beta.6 Pre-release
Pre-release

What's changed

  • You no longer need to add {{ captcha:scripts }} or @captchaScripts to your layout.

v1.2.0-beta.5

01 Aug 11:10
Compare
Choose a tag to compare
v1.2.0-beta.5 Pre-release
Pre-release

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's head and add {{ captcha:scripts }} or @captchaScripts before the closing body tag instead.

v1.2.0-beta.4

24 Jul 10:29
Compare
Choose a tag to compare
v1.2.0-beta.4 Pre-release
Pre-release

What's fixed

  • Avoid name collisions when using multiple forms on the same page.

v1.2.0-beta.3

24 Jul 09:03
Compare
Choose a tag to compare
v1.2.0-beta.3 Pre-release
Pre-release

What's new

  • You can now use show_label on all fieldtypes.
  • select fields now also render their instructions.

What's fixed

  • The {{ errors }} tag used in errors.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.