Release v0.3.17
Release 0.3.17
Changelog
Added
- UX Autocomplete detection: new Twig global
nowo_dashboard_ux_autocomplete_availablecomputed from the presence ofSymfony\UX\Autocomplete\AutocompleteBundle. Dashboard item form templates apply the autocomplete form theme only when it is available. - CSRF consistency: dashboard menu item forms set
csrf_token_idtosubmit(controller + LiveComponent) to keep CSRF behaviour aligned across Symfony versions.
Changed
- MenuDashboardController: when creating a child item, uses
_queryto includeparentid in the generated URL. - Templates: wrap
{% form_theme '@SymfonyUXAutocomplete/autocomplete_form_theme.html.twig' %}in the new availability guard in:dashboard/_item_form_partial.html.twigdashboard/item_form.html.twigcomponents/ItemFormLiveComponent.html.twig
Fixed
- Avoid warnings/errors when the Symfony UX Autocomplete bundle is not installed.
- Demo Symfony 7: enable sessions and CSRF support (
framework.csrf_protection.enabled,framework.session: true) and enableframework.property_infofor older Symfony configs.
Full Changelog: v0.3.16...v0.3.17