Can't get hydration of nested json-field data to work

I am having trouble getting a form with nested JSON fields to hydrate properly. The data is correctly saved to the database. If I dd() the state in the afterStateHydrated callback, it shows the correct value, however the form fields remain empty. What am I doing wrong? field looks like this:
TextInput::make('options.maxDepth')
->numeric(),
TextInput::make('options.maxDepth')
->numeric(),
data saved to db:
{"maxDepth":3}
{"maxDepth":3}
1 Reply
Uma
Uma3w ago
Any luck?
Want results from more Discord servers?
Add your server