In infolist placeholder doesn't work?
TextEntry::make('multiplicator_quotes_value')
->placeholder('-')
->label(__('dashboard.exchange-order.resources.exchange-rate.fields.multiplicator-quotes-value.label'))
->formatStateUsing(function ($state, ExchangeRate $record) {
return ($state) ? $state : $record->getMultiplicator();
}),
if state is empty - placeholder doen't work
0 Replies