njxqlus / filament-lightbox

Lightbox entry for Filament
MIT License
15 stars 7 forks source link

[Bug]: Undefined variable $getGallery using Lightbox::make() #10

Closed lutek closed 6 months ago

lutek commented 6 months ago

What happened?

Got ErrorException:

Undefined variable $getGallery

How to reproduce the bug

just put this into infolist schema definition

use Njxqlus\Filament\Components\Infolists\Lightbox;

Lightbox::make()
    ->schema([
        Components\TextEntry::make('year'),
    ])
    ->href('https://biati-digital.github.io/glightbox/demo/img/large/gm2.jpg')

Package Version

2.1

PHP Version

8.2

Laravel Version

10.46

Filament Version

3.2.42

Notes

No response

njxqlus commented 6 months ago

Fixed in 3.0.0