FilamentF
Filament16mo ago
Firebat

Passing JSON key to $wire.updateTableColumnState, in a custom column

Hi, i'm having trouble to replicate something i did with a toggle column, with my toggle column if i did it like this
ToggleColumn::make('itens.'.$key.'.Delivered')
It would change the value correctly, but i need to iterate thru a whole json, so i made a custom column
but in the method updateTableColumnState() if i try to the name with a key, it doesn't change anything nor throw a error
Captura_de_Tela_2024-09-16_as_10.34.10.png
Was this page helpful?