© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago
DarkLord

afterStateUpdated() not triggering on TextInput

afterStateUpdated method is not triggering on TextInput inside an repeater.

TextInput::make('item_count')
            ->label('Quantity')
            ->numeric()
            ->minValue(1)
            ->required()
            ->hidden(fn($record, string $operation) => $operation == 'edit' ? $record->product->trashed() : false)
            ->live()
            ->afterStateUpdated(function(?string $state) {
                       dd($state);
             }),
TextInput::make('item_count')
            ->label('Quantity')
            ->numeric()
            ->minValue(1)
            ->required()
            ->hidden(fn($record, string $operation) => $operation == 'edit' ? $record->product->trashed() : false)
            ->live()
            ->afterStateUpdated(function(?string $state) {
                       dd($state);
             }),
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

Triggering afterStateUpdated() with $set()?
FilamentFFilament / ❓┊help
17mo ago
TextInput afterStateUpdated() reactive weird behavior
FilamentFFilament / ❓┊help
3y ago
Why Select multiple & TagsInput afterStateUpdated() not triggering
FilamentFFilament / ❓┊help
3y ago
afterStateUpdated() Not Triggering in a Custom Filament Field
FilamentFFilament / ❓┊help
2y ago