Skip to content

Instantly share code, notes, and snippets.

View marty12321's full-sized avatar

Marcin Mucha marty12321

  • Poland
View GitHub Profile
@marty12321
marty12321 / directorycomponent.php
Created April 9, 2024 12:17
download not working for table in livewire
<?php
namespace App\Livewire;
use App\Models\Directory;
use App\Models\Document;
use App\Services\DownloadService;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
use Filament\Support\Enums\Alignment;
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;