© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
Senk

TextInput->numeric() | Livewire corrupt data

Hello,

I am patching a Filament v2 enterprise project (so there is no option of upgrade-ing), and I have encountered a strange issue, where in a

Forms\Components\TextInput::make('primary_unit_value')
                                        ->label('Elsődleges mértékegység')
                                        ->rules(['required'])
                                        ->numeric()
Forms\Components\TextInput::make('primary_unit_value')
                                        ->label('Elsődleges mértékegység')
                                        ->rules(['required'])
                                        ->numeric()


field if you write more then 18 digits then livewire returns with a "Livewire encountered corrupt data when trying to hydrate". I would assume this is because it switches to exponentials automatically and that cannot be validate towards numbers.
I thought providing a maxValue / maxLength would solve this issue, but the textfield still allows for bigger lengths and values to be written in the field.

Is there any solution to 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

Livewire encountered corrupt data
FilamentFFilament / ❓┊help
3y ago
Livewire encountered corrupt data - Notifications
FilamentFFilament / ❓┊help
17mo ago
TextInput numeric with step
FilamentFFilament / ❓┊help
3y ago
Type of TextInput numeric()
FilamentFFilament / ❓┊help
3y ago