btx
Form in Livewire: Disable Submit-Button, while a file uploads?
Yes, I followed this guide to add a form to a livewire component. The form has two wizard steps, a name input and a file upload. Seems I can not prevent submitting before the upload is finished. And secondly if the user uploads 5GB, there will be a long lag after hitting submit, until the file is copied to S3. Seems it is not possible to make livewire upload it directly to S3 istead of copying?
https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component
9 replies
How to increase table max width layout?
@awcodes thanks, now I understood. In v3 it is necessary to create a theme to use any custom tailwind class.
I think this wasn't the case in v2, but I don't really remember since its already 10 months passed
protected ?string $maxContentWidth = 'max-w-[1800px]';
is working now, also hot reload 🥹47 replies
How to increase table max width layout?
@bernhard The class name gets correctly added to the div container. Howver it seems tailwind does not compile it. I tried
npm run dev
and npx tailwindcss -w
. Also created a custom class using { theme: { maxWidth: { cool: '1900px' } } }
to have max-w-cool
. Im out of ideas47 replies
How to increase table max width layout?
Glad that I found this thread. This Info MUST be somewhere in the table docs, even if you don't directly configure the table width. But when searching for it, you will assume, that the table width is limited, and not the page container width. I had to search for 30 mins now, just to find how to increase the width of a single table.
Would be also good to know, how I can set it exactly to 1400px
47 replies
Undefined variable $table while using table builder
I created some tabs on The Circle/View page
class ViewCircle extends ViewRecord
, where I want to have the Dates in a separate tab.
How would you suggest so solve it? Should I create a Livewire component for ViewCircle instead ?
I was just using the protected function getFormSchema(): array
after generating the view page12 replies