How i can use Components\KeyValue;I have a field named params ( type json in database )

In method form in Resource. I add Forms\Components\KeyValue::make('params') But when i click button save, it throw an execption.
4 Replies
Vp
Vp2y ago
Did you casts as array in model?
Messenger of truth
@.valpuia are you vietnamese ?
Vp
Vp2y ago
Nope.. what happen?
Messenger of truth
I'm just curious. Thank you, i just forget casts it in model
Want results from more Discord servers?
Add your server