Sidem
retrieve information from a View in the form
Hi,
in my filament form, I display a view:
View::make('forms.components.createProduct')
In this view I have a <form> and <inputs> which each have a different name and I would like to know if you have an idea of how to retrieve the information from these inputs in my model with the create() function
i try :
thanks 🙂2 replies
Select does not record the data
Hi,
I am currently creating a Wizard. My problem is that when I select a piece of data inside the select and I click on the next step of my Wizard, the select returns me an error telling me that no data has been selected. Do you have an idea ?
Here is my code :
7 replies
update defaultItems repeater with an other fields
Hi everyone,
I need that when changing the value of a field, I can create a logic to dynamically generate several Repeater items at once, to make it easier for the user
the problem is that when i update the TextInput, the repeater defaultItems dosen't update too.
Have you any idee ?
Thanks !
3 replies
print function value
HI,
the solution is probably very stupid but I haven't found it, but I would like to display the result of a function of a model in a column.
The function is in my User model and returns a number that the column should display (so each row will have a different number in the column because it launches the function for a different user each time)
6 replies
Load page with filter
Hi
I would like to know if there is a method to load a filament page with a filter defined according to the link where you click:
On a page that lists missions, I need to redirect the user to a list of requests related to the mission they clicked on.
If you have an idea, I won't say no, thank you
25 replies
change background color
Hi
I would like change the background color of each line of my table.
That's my code :
App\Enums\DemandeStatutEnums.php :
DemandeResource.php :
The problem is that its dosen't works when i use this color :
'bg-brown-100 dark:bg-brown-800'
or 'bg-darkgreen-100 dark:bg-darkgreen-800'
I use npm run build before look if it's works but i have the same result 😢3 replies