© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
2 replies
Dustin

$tableSearch query string removes leading zero's

When i enter a search term like 100.100 it formats it to 100.1, when i do it with 100.101 it stays the same (what is good).

I use this code:
/**
     * @var ?string
     */
    #[Url]
    public $tableSearch = '';
/**
     * @var ?string
     */
    #[Url]
    public $tableSearch = '';


The strange part is that i use persistSearchInSession, when i remove the code above it just works with those numbers. When i add it back it removes the leading zero's, so it has to do something with the query string.

What is a solution for this?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to use "tableSearch" query string in table builder?
FilamentFFilament / ❓┊help
3y ago
Query string in pagination
FilamentFFilament / ❓┊help
2y ago
Enabling filter query string
FilamentFFilament / ❓┊help
3y ago
Populate form from query string
FilamentFFilament / ❓┊help
12mo ago