lmtc
weird question - dynamically generated tailwind config file after form submission
So I have a cms where you can set global styles (not impacting my panels) I created a dynamically generated tailwind command that runs after form submission, but that won't impact the front end since it needs to run npm run build or have watch running, is this a terrible idea or is there a way to do this?
6 replies
HasMany Table Relationship pivot/group RelationManager
I have a table like:
form_id | session_id | field_name | field_value
5 | 123 | first_name | john
5 | 123 | last_name | smith
but I need it to be grouped like
session_id | first_name | last_name
any help would be appreciated!
12 replies
Auto add empty repeater based on a value in another field
I have a select input with a number of columns, I'd like the repeater to automatically add that many empty repeaters to fill in once the field is hydrated, has anyone done something similar? The examples I've found were filling in fields based on the db
4 replies
Stuck on adding a livewire form modal as extraItemActions that is connected to another model
I have followed the steps on https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#setting-a-form-model and set up the modal using modalContent, I can see the form but the livewire isn't working for repeaters since the component referenced is still the parent page
Livewire Entangle Error: Livewire property ['stylingData.block_css'] cannot be found on component
any help would be appreciated!
2 replies
Livewire Form inside modal but with a different resource
Hi there,
I have been trying to work through this for a while now and can't seem to see anything in docs or discord. I have a pages resource, inside that form I have an action modal which I've called in a livewire view as per docs, but it's just rendering the same form from my pages resource again, instead of pulling in the one from my styling modal class. Is there a way to set the relationship in the extraItemActions?
This is my action:
2 replies
Advise: Jetstream user profile without using views
I've currently got profile updates running using views to pull in the default views for things like 2fa but would rather have it all using fillament and just reference the functions, but can't seem to get it going - has anyone attempted this? I know I can style the view and I've tried the plugins but not getting it quite right
2 replies
Setting a field as part of a clone action
I've been playing around with this but couldn't figure it out, I want to modify the builder clone action so it sets a hidden field with a new UUID - as when you clone if you already have a value in there from default() it will keep the same value
2 replies
Adding a value to a hidden field - or a suggestion
I'm trying to add a uuid to a hidden field in a builder component by default but it doesn't seem to be populating the value on load - I want to pass this value back into a different model as part of a builder action which is working but I just can't get the uuid in place:
6 replies
error isEmailVerificationRequired() error
Currently I can't even do a composer update or install, fails on generate autoload, I saw someone else had the error on the discussion board on git but no resolution
BadMethodCallException
Call to undefined method App\Models\Forms::isEmailVerificationRequired()
at vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:67
63▕ * @throws \BadMethodCallException
64▕ */
65▕ protected static function throwBadMethodCallException($method)
66▕ {
➜ 67▕ throw new BadMethodCallException(sprintf(
68▕ 'Call to undefined method %s::%s()', static::class, $method
69▕ ));
70▕ }
71▕ }
i Bad Method Call: Did you mean App\Models\Forms::isRelation() ?
+43 vendor frames
44 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(Filament\FilamentServiceProvider))
+5 vendor frames
50 artisan:35
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
4 replies