Adysone
Adysone
FFilament
Created by Adysone on 6/13/2024 in #❓┊help
Update viewfield state with placeholder addition values
Hi, @Ali I'm sorry, I didn't see your message before. I made a custom component that fits to my need, I didn't manage to make it work with standard component Placeholder.
11 replies
FFilament
Created by Adysone on 9/16/2024 in #❓┊help
Display breadcrumbs and title of the page in topbar
Ok, thanks!
8 replies
FFilament
Created by Adysone on 9/16/2024 in #❓┊help
Display breadcrumbs and title of the page in topbar
So, I can't access the $record from the topbar-title blade view?
8 replies
FFilament
Created by Adysone on 9/16/2024 in #❓┊help
Display breadcrumbs and title of the page in topbar
hello, anyone to help me? 😄
8 replies
FFilament
Created by Adysone on 8/1/2024 in #❓┊help
Livewire component grid in template does not render as grid col, unless use col-start-*
I installed npm packages and I ran npm run build, but nothing changed when I did this. But I found this thanks to your message, and I went with a custom theme, it seems to be good now!
17 replies
FFilament
Created by Adysone on 8/1/2024 in #❓┊help
Livewire component grid in template does not render as grid col, unless use col-start-*
Oh OK, I thought Filament CSS was rebuilt including the classes I use. That makes sense. I'll see how Ican do all of that. Thanks!
17 replies
FFilament
Created by Adysone on 8/1/2024 in #❓┊help
Livewire component grid in template does not render as grid col, unless use col-start-*
I made a mistake, it has nothing to do with app.css. But why do I need a custom theme if I just want to use standard classes of Tailwind?
17 replies
FFilament
Created by Adysone on 8/1/2024 in #❓┊help
Livewire component grid in template does not render as grid col, unless use col-start-*
I set up everything according to the docs of the Form Builder because I thought I could be a solution. But it's clearly not. I don't need custom theme, I just need to use grid-cols-2, but it's not in the app.css and I can't understand why it's not.
17 replies
FFilament
Created by Adysone on 8/1/2024 in #❓┊help
Livewire component grid in template does not render as grid col, unless use col-start-*
No description
17 replies
FFilament
Created by Adysone on 8/1/2024 in #❓┊help
Livewire component grid in template does not render as grid col, unless use col-start-*
I don't have a tailwind config because I use the panel builder, and as far as I understand, It's not necessary to install Tailwind. But I'll install it and check in the config file the paths (there was not the path of my livewire component when I tried). Thank you
17 replies
FFilament
Created by Adysone on 7/29/2024 in #❓┊help
Update section heading programmatically
I finally did what I wanted by calling my "calculateTotalCost" in the heading() closure 👍
12 replies
FFilament
Created by Adysone on 7/29/2024 in #❓┊help
Update section heading programmatically
If I intervert the group and the section, it works as I want... I do not really understand
12 replies
FFilament
Created by Adysone on 7/29/2024 in #❓┊help
Update section heading programmatically
No description
12 replies
FFilament
Created by Adysone on 7/29/2024 in #❓┊help
Update section heading programmatically
Yes, I will share more code, I'm simplifiying it right now
12 replies
FFilament
Created by Adysone on 7/29/2024 in #❓┊help
Update section heading programmatically
I tested but unfortunately it doesn't work
12 replies
FFilament
Created by Adysone on 7/29/2024 in #❓┊help
Update section heading programmatically
I wish the 'Default Section heading' was $get('total_cost'), even at the creation. By default, the total_cost is calculated by doing some additions of other fields or settings
12 replies
FFilament
Created by Adysone on 7/25/2024 in #❓┊help
Test Livewire assertDispatched and assertSee after event dispatched
I answer to myself, I found a topic on Laracast for the second problem I have : https://laracasts.com/discuss/channels/livewire/livewire-testing-nested-components For the first issue, I don't use the good syntax, which must be ->assertDispatched('updatedSelectedLicenses', selectedLicenses: [$license->id])
4 replies
FFilament
Created by CGM on 7/10/2024 in #❓┊help
In a test, should fillForm() be firing afterStateUpdated()?
I'm using PHPUnit and it works with that:
->assertDispatched('applyThemeColors', primary_color: '#007bff');
->assertDispatched('applyThemeColors', primary_color: '#007bff');
I just read this syntax in the docs of Livewire, so that's good for me. The other syntax doesn't work for me. But that's ok! Maybe it's because I have an array as value
12 replies
FFilament
Created by CGM on 7/10/2024 in #❓┊help
In a test, should fillForm() be firing afterStateUpdated()?
@CGM Hi, does your test work? I just found out that the assertDispatched() syntax to test parameters is not
->assertDispatched('applyThemeColors', ['primary_color' => '#007bff']);
->assertDispatched('applyThemeColors', ['primary_color' => '#007bff']);
but
->assertDispatched('applyThemeColors', primary_color: '#007bff');
->assertDispatched('applyThemeColors', primary_color: '#007bff');
12 replies
FFilament
Created by JJSanders on 1/22/2024 in #❓┊help
Testing a form with live events
Hi, I'm interested too!
11 replies