Forms\Components\Repeater::make('invoiceItems')
->relationship()
->schema([
Forms\Components\Group::make() //
->schema([
Select::make('categories'),
Select::make('article_id'),
Select::make('glass')
->visible(fn (Get $get): bool => Article::where('id', $get('article_id'))->where('is_kit', '!=', '0')->exists()),
Forms\Components\Repeater::make('invoiceItems')
->relationship()
->schema([
Forms\Components\Group::make() //
->schema([
Select::make('categories'),
Select::make('article_id'),
Select::make('glass')
->visible(fn (Get $get): bool => Article::where('id', $get('article_id'))->where('is_kit', '!=', '0')->exists()),