What's Changed
- Bump dependabot/fetch-metadata from 1.6.0 to 2.2.0 by @dependabot in #12
- allow to disable options by @atmonshi in #14
Allow to disable options:
usage:
MatrixAlias::make('options')
->disableOptionWhen(fn (string $value): bool => $value === 'm' || $value === 'p' || $value === 'users')
->rowSelectRequired(false)
->label('Resources Operations')
->asRadio()
->columnData([
'c'=>'Create',
'r'=>'Read',
'u'=>'Update',
'd'=>'Delete',
'm'=>'Manage',
'p'=>'Approve',
])
->rowData([
'users'=>'Users',
'companies'=>'Companies',
'clients'=>'Clients',
]),
Full Changelog: v3.2.1...v3.2.2