Is it possible to generate barcode in filament?
Hello,
I have to generate a barcode for a given number and I tried with milon/barcode for laravel like this but it gives 'div' as whole html tag.
Thank you.
7 Replies
Solution
you can add
->html()
wow! thank you so much & GOD bless you @Lara Zeus . it works like a charm.
sorry, but how can I display the number at the bottom of this barcode?
try this
return $barcode."<br>".$record->supplier_barcode;
you can customize it as you like since this is just an html πsuperb! π
if you need to use more markup I recomend to use a view column instead
really, I never checked that. I will definetly give it a try. Thank you so very much once again for your kind assistance.