Skip to content

Releases: lara-zeus/matrix-choice

v3.2.2

04 Sep 18:19
17d62ae
Compare
Choose a tag to compare

What's Changed

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',
    ]),

output:
Screenshot 2024-09-04 at 3 25 12 PM

Full Changelog: v3.2.1...v3.2.2

v3.2.1

04 May 20:25
98eb2fb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.0...v3.2.1

v3.2.0

08 Jan 19:48
8fa151f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.0...v3.2.0

v3.1.0

06 Dec 14:40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.1...v3.1.0

v3.0.1

04 Nov 11:52
94b293f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.0...v3.0.1

v3.0.0

03 Nov 23:23
Compare
Choose a tag to compare

"Choice. The problem is choice.”