lazydog
lazydog
Explore posts from servers
FFilament
Created by lazydog on 9/4/2024 in #❓┊help
Reactive Field does not persist data
No description
4 replies
FFilament
Created by lazydog on 9/3/2024 in #❓┊help
Clickable label then will go to specific section/row of the page
I have a stat overview widget, the value of the stat is clickable. That page is using ViewRecord class. It has 3 tables and 2 infolist for that page. My concern is, if I click the value of my stat, the page will scroll down to the third table. Like in html there is a #section, if you click this one, you will go to <div id="section">. How can I do this?
2 replies
FFilament
Created by lazydog on 8/9/2024 in #❓┊help
Multi-tenancy and Filament Imports
hi I am using spatie multi-tenancy package. I am currently have a feature that is being develop regarding import. I am using Filament Import. I've already implemented the custom imports jobs based on Filament Imports Docs. Now, my issue is I cannot pick the job from the job table because the there is no selected database yet according to my log. May I know how can I handle this?
2 replies
FFilament
Created by lazydog on 6/29/2024 in #❓┊help
Repeater with DatePicker
I've used Repeater with 2 DatePicker fields (start and end), may I know how can I validate if the newly added item from Repeater is an overlap to the existing or already added items? Ex: Start1: 2024-01-01 End1: 2024-01-30 Start2: 2024-01-04 End2: 2024-01-30 // OVERLAPPED Start3: 2024-02-01 End2: 2024-02-20
4 replies
FFilament
Created by lazydog on 6/27/2024 in #❓┊help
HintIcon
No description
12 replies
FFilament
Created by lazydog on 6/12/2024 in #❓┊help
Force Reload Page
I have a form that will create or draw a google map, I can create successfully. However, if I will hit Create Another the drawn shape is persisting though input fields were empty except the google map. It needs to be reloaded to remove the drawn shape. Is there anyway to force reload the form once I hit Create Another button? Or may I know alternative of this?
2 replies
FFilament
Created by lazydog on 6/10/2024 in #❓┊help
Expired page
No description
2 replies
FFilament
Created by lazydog on 6/7/2024 in #❓┊help
Favicon
Hi, Ive added favicon to my project. It's working fine with firefox but not working in chrome and safari. I've checked the view page source, I can see the link of my favicon and it is working. Current implementation ->favicon(asset('images/favicon.ico')) or ->favicon(asset('images/favicon.png')) both working on firefox only. May I know how can I resolve this?
4 replies
FFilament
Created by lazydog on 6/4/2024 in #❓┊help
Filament Tenancy
I've implemented the default tenancy of Filament, user can create multiple team and switched. However, I can only get the default team (first create team only) when switching to other team, how can I set the newly selected tenant to be the current team?
9 replies
FFilament
Created by lazydog on 6/3/2024 in #❓┊help
Password Reset Redirection
Hi, may I know where and what method to be used/override to redirect to another page once password reset is successful? Currently, notification message is displayed once success, however, I need to add more info or messages.
5 replies
FFilament
Created by lazydog on 5/26/2024 in #❓┊help
Line Chart change background color
No description
3 replies
FFilament
Created by lazydog on 5/24/2024 in #❓┊help
Form - KeyValue
May I know what is the equivalent property for afterStateUpdated?
4 replies
FFilament
Created by lazydog on 5/10/2024 in #❓┊help
Badge number is hidden
No description
2 replies
FFilament
Created by lazydog on 5/8/2024 in #❓┊help
HintIcon for table header column
Hi, how can I add a hint icon or tooltip in a table header column? Instead of adding it in every rows, I will add it to the header column only.
3 replies
FFilament
Created by lazydog on 4/24/2024 in #❓┊help
Sending Email
I've setup my project with emails, recently I've used Mailtrap. Everything is okay. Now, I've changed my credentials with the actual one like the Mailgun. However, when I've tried sending email (Reset Password) I alway have an error of
Connection could not be established with host "mailpit:1025": stream_socket_client(): php_network_getaddresses
Connection could not be established with host "mailpit:1025": stream_socket_client(): php_network_getaddresses
when in fact I've removed this configurations. Please give some inputs.
7 replies
FFilament
Created by lazydog on 4/15/2024 in #❓┊help
Delete Bulk Action
I have a table list that has delete bulk action (default), before I delete all data, I need to gather all selected records. Unfortunately, I was not able to do it. I've tried, ->before, ->using, and ->action but I did not get all the ids.
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
])
3 replies
FFilament
Created by lazydog on 4/12/2024 in #❓┊help
Tenancy
How to properly setup a tenancy if I got this error? I've implemented the tenancy based on the docs but when I tried adding a team, I got this error
Missing required parameter for [Route: filament.team.pages.dashboard] [URI: team/{tenant}] [Missing parameter: tenant].
Missing required parameter for [Route: filament.team.pages.dashboard] [URI: team/{tenant}] [Missing parameter: tenant].
2 replies
FFilament
Created by lazydog on 4/8/2024 in #❓┊help
Select then show Modal
Hi, I have a select component and has 2 options. How can I add a modal when I've selected one of those in options? like
requireConfirmation
requireConfirmation
15 replies
FFilament
Created by lazydog on 4/4/2024 in #❓┊help
Multiple Field in Custom Field
No description
23 replies
FFilament
Created by lazydog on 4/3/2024 in #❓┊help
How to handle API error response?
I have a resource, once you have create/update/delete action, it will call an API endpoint. How can I handle the error response and display an error message to the user?
2 replies