All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- PHP 8.3 and 8.4 compatibility
- Bugfix for ChoiceItem with empty choices
- Invalid form requests now set a
_invalidForm-attribute on the main request, which can be used to support turbo forms.
- BREAKING
RevisionTen\Forms\Interfaces\ItemInterface: ChangedonValidateandonSubmitmethod signatures to pass$databy reference.
- Fix deprecations
- Fix deprecations
- Allow PHP 8.1
- Add support for conditional form-item forms
- Enable form submission saving by default
- Fixed FormRead relationship class name in FormSubmission
- Improved form templates
- Removed globally registered form theme, set form theme explicitely in form template
- Allow html in form labels
- Added support for twig form submission data vars in success messages
- Added missing form constraints
- Fixed sender empty name causing type error
- Bundle now requires version 3 of the CQRS and CMS bundle and Symfony ^5.3
- Updated ItemInterface, deprecated
getItemmethod, usebuildIteminstead
- Added
getEmailmethod to ItemInterface
- Compatibility fix for PHP 7.1
- Bugfix
- Improved templates and made select fields with emails as values secure
- Added option to scroll to form success message after submitting (you can edit the scroll offset by overwriting the form default template)
- Update your database schema
- Added scroll javascript to
Templates/Frontend/form.html.twig - Bugfixes
- Code cleanup
- Added method to verify form before submitting it
- Return form object in service
- Fixed form validation
- Upgraded CQRS classes
- Fixed onValidate return value
- Added option to disable CSRF protection
- Added form submission tracking (database update required)
- Added TrackingController
- Added form submission entity list
- Added
aria-labelto form items to improve accessibility
- Bugfixes
- Changed Frontend/form.html.twig
- Bugfixes
- Added bootstrap custom forms classes to form items
- Added option to disable form item label
- Fixed template override in form options
- Refactored FormController
- Fixed controller deprecation
- Fixed form read model
- Added form submission saving (database update required)
- Added form submission download
- Whitespace fixed
- Fixed numeric choice values
- Code refactored and cleaned
- Dev release for projects that use a symfony version older than 3.4.0
- Added version constant to FormsBundle