charlie
Would it be hard to move a complete Filament project to Multi-tenancy ?
I have a quite big app, almost in prod. But the project goal has evolved in last months.
The customizations are not insane, but... That's what I'm using:
- 2 panels
- 4 roles (with shield)
- about 20 Livewire custom forms
- 3 custom fields
- 23 models
- a lot of plugins from community 🙂
And I use a very large part of the available features in Filament.
I don't need users being able to switch teams or any complex workflow.
I want to sell my app to different clients on a monthly subscription (like a saas). I just have one for now.
I'm currently looking for a solution where I can charge automatically each client and control what they can access.
8 replies
How to use Alpine in Filament?
If I have this very basic example:
MyPage.php
my-page.blade.php
I can't understand how I can access the field state from alpine...
What if I want to change the state of
another_text_input
each time my_text_input
state changes, for example?26 replies
From Livewire to Apine
Hi there!
This field doesn't need any request to work. What would be the appropriate way/syntax to translate live() / afterStateUpdated() methods to Alpine.js?
Preferably extracting the js code elsewhere.
Should I extend the field class or can I go with extraAttributes?
Thanks!
1 replies
$getRecord() in a form changes when I click on an action button or a relation manager tab
Hi,
I'm trying to create a custom field as explained here:
https://filamentphp.com/docs/3.x/forms/fields/custom#custom-field-classes
From the generated view, if I dump record like that:
It works fine, until I click on a button launching a modal or a Tab switching to a different RelationManager below the form. The record seems to be emptied, and the code in custom field can't access to the record anymore unless I refresh the page...
Is it normal? And what could I do?
5 replies