© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•12mo ago•
4 replies
Daniel Reales

Textinput validate convert int to string

protected function handleRecordUpdate(Model $record, array $data): Model
    {

        dd($this->validate());
protected function handleRecordUpdate(Model $record, array $data): Model
    {

        dd($this->validate());
php

When I do a dd($data) it returns the TextInput fields as int, but if I pass it $this->validate() it converts them to string?
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 validate a Mask TextInput?
FilamentFFilament / ❓┊help
3y ago
How to convert string ["4"] to real array?
FilamentFFilament / ❓┊help
2y ago
Unsupported operand types: string + int in Tabs
FilamentFFilament / ❓┊help
11mo ago