Kirby Icon Field 3 supports Kirby 6 and its Vue 3 Panel. For Kirby 4 and 5, use 2.4.0.
composer require tobimori/kirby-icon-field:^3.0@beta
⚠️ Changes
- Requires Kirby 6.0.0-rc.3 or later and PHP 8.3 or later
- Saved icons that are no longer available show as
[unknown], like in other Kirby 6 option fields. Remove them to save the page. Before, the field removed them silently. - Query templates in the
folderandspriteoptions use the model of the field, so{{ page }}is the page with the field - Functions in the
folder,sprite,includeandexcludeoptions get the newtobimori\IconField\IconFieldfield object
✨ Enhancements
- The field no longer sends the
folder,sprite,includeandexcludeoptions to the Panel, so the path of the icon folder on the server stays private
Full Changelog: 2.4.0...3.0.0-beta.1