mokhosh
mokhosh
FFilament
Created by mokhosh on 4/19/2024 in #❓┊help
Two fieldsets for the same relationship on two wizard steps not working
I think it's nasty because I will have an unnecessary duplication in my model code, which is only there because of a presentation layer decision to separate the form into multiple wizard steps. Otherwise I would never create two identical relationships with different names. One sign of this smell is the fact that I have to write a comment above one of the relationship methods to avoid any confusion why we have two methods for the same relationship. And you can't easily test this, so if someone confident comes in the future and deletes the method, they won't know that they have broken the app. They will just think I was stupid to have such duplication in my code. Does this make sense?
10 replies
FFilament
Created by mokhosh on 4/19/2024 in #❓┊help
Two fieldsets for the same relationship on two wizard steps not working
10 replies
FFilament
Created by mokhosh on 4/19/2024 in #❓┊help
Two fieldsets for the same relationship on two wizard steps not working
Cloning the relationship actually works, but this is a nasty hacky fix. Any way we can avoid that? Should I open an issue?
10 replies
FFilament
Created by mokhosh on 4/19/2024 in #❓┊help
Two fieldsets for the same relationship on two wizard steps not working
Ok, update, this only happens with SpatieMediaLibraryFileUpload component. Normal fields work fine. It doesn't seem related to relationship name.
10 replies
FFilament
Created by mokhosh on 4/19/2024 in #❓┊help
Two fieldsets for the same relationship on two wizard steps not working
No, they are on the same relationship, but I've used different names in the make method.
10 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
Thank you very much for taking the time and answering anyway. Really appreciate it.
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
That's what I'm saying 😄 All this is not super clear. I think we can make it more clear in the "adding forms to a livewire component" page, that if you're using it this way, you need to take additional steps.
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
i resolved 1
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
Two questions however, 1. The input has some style issues, like I have the focus outline on it which isn't there in the panel forms 2. Shouldn't this be added to the "Adding forms to livewire components" page in the docs?
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
Thanks so much, that fixed the unresponsiveness.
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
i did steps in single commits so you can track if necessary
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
the component is rendered on the welcome page
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
just created a new laravel app, required filament, used the documentation command, and added rich editor, that's all
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
Ye I'm sure im missing something, but i just followed the docs
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
Yup, that's strange. I'm creating a reproduction repo.
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
and when i submit, the value is null obv
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
i just see a toolbar, no body, and the toolbar doesn't respond either
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
I'm using the whole filament package, but this is inside a simple livewire component, not a panel
30 replies
FFilament
Created by mokhosh on 3/14/2024 in #❓┊help
Rich editor not working inside Livewire component
No errors in the console, but I started writing richEditor... in the console and didn't get completion, that's why I think the lib is not properly loaded.
30 replies