© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
MikePageDev

Dynamic hint not updating

Hi I have a hint on a field that changes depending on a select field. I have this working in another app but cant seem to get it working in this one and for the life of me I cant figure out what I have done differently.

here is a code example
use Filament\Forms\Get;

Select::make('selection')
                    ->relationship('selection', 'tag',)
                    ->preload()
                    ->searchable()
                    ->columnSpan(2),
                TextInput::make('text_input')
                    ->hint(function (Get $get) {
                        return $get($selection) ? '' : 'no selection';
                    })
                    ->maxLength(255)
                    ->columnSpan(2),
use Filament\Forms\Get;

Select::make('selection')
                    ->relationship('selection', 'tag',)
                    ->preload()
                    ->searchable()
                    ->columnSpan(2),
                TextInput::make('text_input')
                    ->hint(function (Get $get) {
                        return $get($selection) ? '' : 'no selection';
                    })
                    ->maxLength(255)
                    ->columnSpan(2),


For some reason the hint is not changing when an option is selected.
Solution
So I have managed to fix this by adding
live()
live()
to the select. But what I don't understand is how is it working in my other app without
live()
live()
Jump to solution
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

A hint, not a question
FilamentFFilament / ❓┊help
2y ago
Is it possible to do a dynamic hint action?
FilamentFFilament / ❓┊help
2y ago
Hint action disappear.
FilamentFFilament / ❓┊help
2y ago
hint action tests
FilamentFFilament / ❓┊help
3y ago