kamilzeliasz
kamilzeliasz
FFilament
Created by kamilzeliasz on 9/4/2023 in #❓┊help
Multi-tenancy by subdomain
Hi. I tried to do multi-tenancy but failed. Is there any easy way to switch between tenancy subdomain, not by url? Example: Currently url to get tenancy: http://app.local/panel/workspace Expected: http://workspace.app.local/panel I tried use function domain in panel (->domain('{tenancy:slug}.app.local')) but it doesn't work
10 replies
FFilament
Created by kamilzeliasz on 7/27/2023 in #❓┊help
Problem with form fields
Hello. I have a problem with TinyEditor when I turn on the action modal a second time without reloading the page. I have the page divided into sections, each section has its own class with a form definition e.g.: https://gist.github.com/kamilzeliasz/8aa697b72e363409e6c64f71d7fa32ab Definition of section editing action: https://gist.github.com/kamilzeliasz/d41fe1f0b9bf333240f4dd5286966e6f I attach a video showing the problem. I noticed that the problem only occurs if there is a FileUpload in the form. In addition, if the definitions in the action in $this->form put an array with values from getForm from HeroSection, everything behaves correctly. The problem is when we use $section = app($record->type);. Could someone guide me what the error is due to? Thanks.
2 replies