Nova BooleanGroup advanced field based on native Nova field
stepanenko3/nova-boolean-group-field is a Laravel package for nova booleangroup advanced field based on native nova field.
It currently has 8 GitHub stars and 28.493 downloads on Packagist (latest version v1.0.3).
Install it with composer require stepanenko3/nova-boolean-group-field.
Discover more Laravel packages by stepanenko3
or browse all Laravel packages to compare alternatives.
Last updated

Extended BooleanGroup Field for Laravel Nova
php: >=8.0laravel/nova: ^4.0# Install the package
composer require stepanenko3/nova-boolean-group-field
Add the use declaration to your resource and use the fields:
use Stepanenko3\NovaBooleanGroup\BooleanGroup;
...
BooleanGroup::make('Permissions', 'permissions'),
BooleanGroup::make('Layouts', 'layouts')->options([
'value1' => 'Value1',
'value2' => 'Value2',
'value3.value1' => 'Value3.1',
'value3.value2' => 'Value3.2',
'value4.value1' => 'Value4.1',
'value4.value2' => 'Value4.2',
'value5' => [
'value1' => 'Value5.1',
'value2' => 'Value5.2',
'value53' => [
'value1' => 'Value5.3.1',
'value2' => 'Value5.3.2',
],
],
]),
BooleanGroup::make('Permissions', 'permissions')
->hideFalseValues(),
BooleanGroup::make('Permissions', 'permissions')
->hideTrueValues(),

Thank you for considering contributing to this package! Please create a pull request with your contributions with detailed explanation of the changes you are proposing.
This package is open-sourced software licensed under the MIT license.