1.1.17
What's Changed
- custom form by @do-dyco
New Contributors
- @do-dyco made their first contribution
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