1.1.16
What's Changed
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot
- Add logo to QR code
Changelogs and Releases Notes for QR Code Field: QR Code Input to generate QR Code with designing options for filamentPHP.
size
to numeric and check if the size is empty, return the default size by @waelkhalifayou can render the QR code any component that accept HTML usg the QR Facade:
Qr::render(data:'dataOrUrl')
and it's accept these options:
?strg $data = null,
?array $options = null,
strg $statePath = 'url',
strg $optionsStatePath = 'options',
bool $downloadable = true
to sert the QR code any FilamentPHP table or folist, it's better to be displayed a popover or modal,
and you can use our plug Popover:
PopoverEntry::make('name')
->trigger('click')
->placement('right')
->offset([0, 10])
->popOverMaxWidth('none')
->icon('heroicon-o-chevron-right')
->content(Qr::render(data:'dataOrUrl')),
rename the function qrRender
to render
, only affect if you're usg it manually
compile assets
Let's goo