bernhard
Key-value Field with dot in key
None is triggered before the error:
KeyValue::make('data')
->mutateDehydratedStateUsing(fn ($state) => dd($state))
->afterStateUpdated(fn ($state) => dd($state))
->beforeStateDehydrated(fn ($state) => dd($state))
->dehydrateStateUsing(fn ($state) => dd($state))
49 replies
Key-value Field with dot in key
Not sure if modifing data just to make it work for a specific form isn't they way to go imho. Because on alll other places, the Dot is just fine. In the import Command, on the output, the API's where I have to use the data. So just the form is the problem, not the data, the storage or the formating
49 replies
Key-value Field with dot in key
So when creating a new record, setting the value to
test.test
it works and is saved without problems. Then editing and adding something without a dot, it works as well.
Then creating a new record without a dot, saving and adding the same test.test
again, I get the error49 replies