Shang✨
How to display notification message?
Hello everyone.
I am building simcard management dashboard.
I have datagrid table prebuilt using filament table, and it contains "Activate simcard" button on each row, so if I click it, modal opens. the modal is built with form.
But what my problem is, after clicking Submit button on modal and after closing a modal, I want to show notification message, of course, I know notification works with livewire component, and @livewire('notifications') part should be added somewhere, but as you know, Filament doesn't provide any livewire component as default, so there is no app.blade.php file as default.
Regarding this problem, I created a new app.blade.php file manually in to resource/views/components/layouts folder, and I added 'layout' => 'components.layouts.app' to config/filament.php, but notification not showing after submitting on modal.
I don't want to create new livewire components for adding form on modal.
I am not sure how to display notification without creating livewire component on modal.
7 replies
How to solve long string(numeric) issue in datagrid?
- What I am trying to do:
I am trying to build simcard management dashboard.
- What I did:
so for this, I created table grid and displayed simcard data such as card number, phone number etc from external api.
- My issue:
For example, simcard number format is 9999999999999999999, but it's showing like 1.0E+20
I verified simcard number was loaded correctly from external api, but showing wrong on table grid, so I tried to use formatStateUsing function, but still showing wrong.
I can't solve this problem.
- Code:
100 replies