Azad Furkan ŞAKAR
Azad Furkan ŞAKAR
FFilament
Created by noopd13 on 4/29/2025 in #❓┊help
Best Approach for Filament Multi-Tenancy with One-to-Many User-tenant Relationship
There is no docs for that sorry but you can find some useful tutorial or videos on youtube.
6 replies
FFilament
Created by noopd13 on 4/29/2025 in #❓┊help
Best Approach for Filament Multi-Tenancy with One-to-Many User-tenant Relationship
6 replies
FFilament
Created by Soundmit on 4/29/2025 in #❓┊help
How to show image gallery in infolist
Just make a custom entry?
5 replies
FFilament
Created by Nicole on 4/29/2025 in #❓┊help
Autocomplete Input Form Field
https://github.com/defstudio/filament-searchable-input this is what are you looking for exactly.
5 replies
FFilament
Created by simplehacker on 4/28/2025 in #❓┊help
Trim Text Inputs
Maybe you can use TextInput::configureUsing() method in panel provider boot method.
6 replies
FFilament
Created by AnarFrudan on 4/25/2025 in #❓┊help
Is it possible to adjust vertical spacing in forms?
you can make it with Placeholder component
6 replies
FFilament
Created by Nicole on 4/24/2025 in #❓┊help
Lightweight map plugin
4 replies
FFilament
Created by Felix on 1/17/2024 in #❓┊help
How to change color on an livewire table component
did you register color in your panel provider?
4 replies
FFilament
Created by Azad Furkan ŞAKAR on 3/31/2025 in #❓┊help
Nginx - Auth Request
I know, but thank you for the information. I will take it into consideration 🙏🏼 The problem was independent of FilamentPHP anyway. I just thought if there is someone knowledgeable on the server side, they could enlighten me.
10 replies
FFilament
Created by Azad Furkan ŞAKAR on 3/31/2025 in #❓┊help
Nginx - Auth Request
Isn't that why we use the non-filament label/tag, or am I wrong? 🥲 If so, please excuse me. Also, this is exactly what I was trying to do but I had a problem on the Nginx side and I was wondering if anyone had a similar problem.
10 replies
FFilament
Created by Arre on 3/26/2025 in #❓┊help
The Notification icon has disappeared...
4 replies
FFilament
Created by marsep95 on 5/6/2024 in #❓┊help
Search on Navigation Menu
Your very welcome! 🙏🏼
12 replies
FFilament
Created by marsep95 on 5/6/2024 in #❓┊help
Search on Navigation Menu
No description
12 replies
FFilament
Created by marsep95 on 5/6/2024 in #❓┊help
Search on Navigation Menu
Here yo go;
<x-filament::input.wrapper class="px-4 my-4">
<x-filament::input
type="search"
placeholder="Search navigation..."
x-ref="search"
x-data="sidebarSearch()"
x-on:input.debounce.300ms="filterItems($event.target.value)"
x-on:keydown.escape="clearSearch"
x-on:keydown.meta.k.prevent.document="$refs.search.focus()"
/>
</x-filament::input.wrapper>

<script>
document.addEventListener('alpine:init', () => {
Alpine.data('sidebarSearch', () => ({
init() {
this.$refs.search.value = ''
},

filterItems(searchTerm) {
const groups = document.querySelectorAll('.fi-sidebar-nav-groups .fi-sidebar-group')

searchTerm = searchTerm.toLowerCase()

groups.forEach(group => {
const items = group.querySelectorAll('.fi-sidebar-item')
let hasVisibleItems = false

items.forEach(item => {
const text = item.textContent.toLowerCase()
const isVisible = text.includes(searchTerm)

item.style.display = isVisible ? '' : 'none'

if (isVisible) {
hasVisibleItems = true
}
})

group.style.display = hasVisibleItems ? '' : 'none'
})
},

clearSearch() {
this.$refs.search.value = ''
this.filterItems('')
}
}))
})
</script>
<x-filament::input.wrapper class="px-4 my-4">
<x-filament::input
type="search"
placeholder="Search navigation..."
x-ref="search"
x-data="sidebarSearch()"
x-on:input.debounce.300ms="filterItems($event.target.value)"
x-on:keydown.escape="clearSearch"
x-on:keydown.meta.k.prevent.document="$refs.search.focus()"
/>
</x-filament::input.wrapper>

<script>
document.addEventListener('alpine:init', () => {
Alpine.data('sidebarSearch', () => ({
init() {
this.$refs.search.value = ''
},

filterItems(searchTerm) {
const groups = document.querySelectorAll('.fi-sidebar-nav-groups .fi-sidebar-group')

searchTerm = searchTerm.toLowerCase()

groups.forEach(group => {
const items = group.querySelectorAll('.fi-sidebar-item')
let hasVisibleItems = false

items.forEach(item => {
const text = item.textContent.toLowerCase()
const isVisible = text.includes(searchTerm)

item.style.display = isVisible ? '' : 'none'

if (isVisible) {
hasVisibleItems = true
}
})

group.style.display = hasVisibleItems ? '' : 'none'
})
},

clearSearch() {
this.$refs.search.value = ''
this.filterItems('')
}
}))
})
</script>
and register your admin panel provider;
$panel
->renderHook(PanelsRenderHook::SIDEBAR_NAV_START, fn () => view('filament.components.search')) // or where you located your blade file
...
$panel
->renderHook(PanelsRenderHook::SIDEBAR_NAV_START, fn () => view('filament.components.search')) // or where you located your blade file
...
This is not for search resources or pages, but you can search navigation items. You can write a custom method for search resources and pages.
12 replies
FFilament
Created by shabxs on 3/21/2025 in #❓┊help
Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type string,
options should be array<string, string> , you can map your cases for Select options.
17 replies
FFilament
Created by furkanbardak on 3/19/2025 in #❓┊help
Livewire with Laravel Filament Forms Usage: FileUpload Error
when i delete [at]filamentScripts, i got same error as like you
13 replies
FFilament
Created by furkanbardak on 3/19/2025 in #❓┊help
Livewire with Laravel Filament Forms Usage: FileUpload Error
No description
13 replies
FFilament
Created by furkanbardak on 3/19/2025 in #❓┊help
Livewire with Laravel Filament Forms Usage: FileUpload Error
You forget to add [at]filamentScripts after your livewireScripts
13 replies
FFilament
Created by furkanbardak on 3/19/2025 in #❓┊help
Livewire with Laravel Filament Forms Usage: FileUpload Error
If this form is used outside the Filament panel, check if you have not included css vs js files for filament in the layout.
13 replies
FFilament
Created by ashfall on 3/14/2025 in #❓┊help
Datetime format issue in form
4 replies