v3.2.2
What's Changed
- Bump dependabot/fetch-metadata from 1.6.0 to 2.2.0 by @dependabot
- allow to disable options
Allow to disable options:
usage:
MatrixAlias::make('options')
->disableOptionWhen(fn (strg $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',
]),
output: