I am using Filament 3.2. How to update Placeholder content on live?
Select::make('authors') ->relationship('authors', 'name') ->live() ->afterStateUpdated(function (string $operation, $state, Forms\Set $set, Forms\Get $get) { $user = User::find($state[0]); if ($user) { $userEmail = $user->email; $set('authoremail', $userEmail); } }),// TextInput::make('authoremail')// ->label("Author's Email")// ->disabled(),Placeholder::make('authoremail')
If it is TextInput
, it works. But it doesn't work on Placeholder
. How can I make it works on Placeholder
?