Is there any key value entry but for table ?

the question is in the title i want to show json value like key value of the infolist but when i use this TextColumn::make('service.budget') ->label('Budget') ->toggleable() ->money() ->listWithLineBreaks() ->limitList(3) ->expandableLimitedList(), it does only show the value not the key
1 Reply
toeknee
toeknee5w ago
do:
TextColumn::make('service')
->label('Budget')
->formatStateUsing(fn($state) => $state )
->toggleable()
->money()
->listWithLineBreaks()
->limitList(3)
->expandableLimitedList()
TextColumn::make('service')
->label('Budget')
->formatStateUsing(fn($state) => $state )
->toggleable()
->money()
->listWithLineBreaks()
->limitList(3)
->expandableLimitedList()
Will show the entire store, then implode it or loop it to format what $state is?
Want results from more Discord servers?
Add your server