Xane
Xane
FFilament
Created by Xane on 11/20/2023 in #❓┊help
Is there a way to use statePath with nested json-data?
The reason I didn't see the values before was because I had multiple rows in "Details", when there were no data displayed it confused me thinking that it in fact did not work. But the repeater solved that problem by looping through all the rows in Details 🙂
7 replies
FFilament
Created by Xane on 11/20/2023 in #❓┊help
Is there a way to use statePath with nested json-data?
I tried a few thing, and what worked in the end was simply using the Repeater with "->statePath('Nutrient.Details')" 🙂
7 replies
FFilament
Created by Xane on 11/20/2023 in #❓┊help
Is there a way to use statePath with nested json-data?
This is for both rendering and updating. I'm looking into formatStateUsing! Thanks @toeknee!
7 replies