HGalih
get new repeater item only filament when editing
I want to decrease user balance everytime they order. This is what I did
'paket_bot' is a repeater that hold product datas.
The catch is they can also update it (add more product but not delete previous product). And if they do add another product, I need to decrease the balance again. How do I avoid decreasing the user balance for the previous ordered item? (because repeater hold both old and new product data)
2 replies
Very simple mutate data before create. But it is not working
It must be a very stupid mistake. This is a fresh filament and I just want to implement a very simple feature that auto assign role column for user
Return error
And ofcourse I already defined 'role' ass fillable on my user.php
11 replies
Fillament store asset url referencing wrong domain.
Hi for some reason fillament reference the wrong domain. I duplicated my laravel project and put it in anothe rdomain.
When displaying an image, it instead reference to my old domain.
I have make sure that .env file is setup up properly with my new domain. Anything else needed?
2 replies
Filament Reactive not Working
My repeater component visibility and requiribility is dependant of my select component.
What I do:
1. Make both element reactive
2. Use Callable $get
What I expect:
1. It start with the repeater showing because default value is 1
2. As soon as I change my select value, repeater become hidden because value is no longer 1
3. As soon as I put it back to 1, the repeater pops up back
Problem:
1. Works perfectly
2. Works Perfectly
3. Doesn't want to show it anymore at all
Code:
3 replies