glhd / aire

Modern form builder for Laravel
https://airephp.com
MIT License
542 stars 36 forks source link

Checkbox groups do not work with wire:model #129

Closed Coho04 closed 1 year ago

Coho04 commented 1 year ago

Describe the bug Currently, it is not possible to use the wire:model directive of Laravel Livewire with checkbox groups in Aire. This is because the wire:key attribute, which is required for unique identification, is missing, resulting in all options being checked or none at all.

Have you published the Aire config file? no

Have you added custom Aire views? no

What version does this affect?

To Reproduce Steps to reproduce the behavior: create aire checkbox group with wire model from livewire

Expected behavior all options are ticked or none at all

Additional context Add any other context about the problem here.


If this is an issue with the way Aire renders a component, please provide the following additional information:

Desktop (please complete the following information):