sonata-project / SonataUserBundle

Symfony SonataUserBundle
https://docs.sonata-project.org/projects/SonataUserBundle
MIT License
339 stars 488 forks source link

Use multiple options by default for `RolesMatrixType` form #1661

Closed phansys closed 11 months ago

phansys commented 11 months ago

Subject

Use multiple options by default for RolesMatrixType form

I am targeting this branch, because this change seems to follow the natural use case for this form, where multiple options for the role matrix are allowed (rendered as checkboxes instead of radio buttons): Roles Matrix

Changelog

### Added
- Default value `true` for the "multiple" option at `RolesMatrixType` form type

### Changed
- `RolesMatrixType` form type allows multiple values by default
VincentLanglet commented 11 months ago

Thanks