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.

TextColumn::make('supplier_barcode')->formatStateUsing(function ($record) {
    $barcode = DNS1D::getBarcodeHTML($record->supplier_barcode, 'PHARMA');
    return $barcode;
}),


Thank you.
Solution
you can add ->html()
Was this page helpful?