lukaveck1
lukaveck1
FFilament
Created by lukaveck1 on 2/21/2025 in #❓┊help
FIlament Bulk Delete causes this.$refs.modalContainer is undefined
When I go to Edit page and delete the record it fires modal for approval correctly and everything works as normal. So the problem is only on a list.
13 replies
FFilament
Created by lukaveck1 on 2/21/2025 in #❓┊help
FIlament Bulk Delete causes this.$refs.modalContainer is undefined
Must be part of composer scripts, I didn't run it manually.
13 replies
FFilament
Created by lukaveck1 on 2/21/2025 in #❓┊help
FIlament Bulk Delete causes this.$refs.modalContainer is undefined
I'll compare this info with project on github,
13 replies
FFilament
Created by lukaveck1 on 2/21/2025 in #❓┊help
FIlament Bulk Delete causes this.$refs.modalContainer is undefined
I'm not sure what happened, first this thing was on GitHub (works perfectly), then my manager moved it to GitLab and added some docker stuff and cert, now I've done cloned project from GitLab, composer install, npm install,.. and while everything looks to work the same, this is the first bug that I've found.
13 replies
FFilament
Created by lukaveck1 on 2/21/2025 in #❓┊help
FIlament Bulk Delete causes this.$refs.modalContainer is undefined
No description
13 replies
FFilament
Created by lukaveck1 on 2/21/2025 in #❓┊help
FIlament Bulk Delete causes this.$refs.modalContainer is undefined
Same happens on other list with normal delete:
13 replies
FFilament
Created by lukaveck1 on 2/21/2025 in #❓┊help
FIlament Bulk Delete causes this.$refs.modalContainer is undefined
No other errors.
13 replies
FFilament
Created by lukaveck1 on 2/21/2025 in #❓┊help
FIlament Bulk Delete causes this.$refs.modalContainer is undefined
Yes, normal list page.
13 replies
FFilament
Created by lukaveck1 on 2/13/2025 in #❓┊help
Setting data field value on hidden field when submitting form.
Thanks, solved.
3 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
I've done some basic stuff with FIlament/Livewire and know alpine.js a bit - but this is a bit over my head right now and how to wrap everything up together 😅
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
I'm not sure I understand how to wrap modal with extra attributes and action button. From this code I understand we are setting $fixed to true, if it doesn't have value (which will be used later to set class to 'absolute' so we are showing the modal), then in x-data we are basically saying change loading to true, if we click the action button. Now I'm not sure how to bind things to Modal and Action button and am guessing what I'm doing or have to do due to lack of experience, such as trying Action::make('generate') ->extraAttributes( ['loading' => true] ).. which of course doesn't work, I'm unsure what and how I'm supposed to do this.
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
This works in the same way
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
Now every time it requests things (for select fields for example) - this poops up.
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
Well, it's sort of working, wait, let me show you with video.
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
Appreciate the help 🙂
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
No worries, I've tried about 5 different things already, can't get it to work 😄
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
yes
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
Doesn't do anything :/
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
If I understand correctly, this is what I'm supposed to do: Action::make('generate') ->label('Generate') ->visible(fn () => Gate::allows('can-edit')) ->icon('heroicon-o-sparkles') ->form([ ViewField::make('loading_icon') ->view('forms.loading') ->dehydrated(),...
30 replies
FFilament
Created by lukaveck1 on 2/12/2025 in #❓┊help
Showing another modal for loading screen while submitting modal form.
No description
30 replies