Using json properties for form schema
I have a form that uses a model on laravel with a json column. Inside there are some properties. There are tags and difficulty level inside but when saving, it overwrites the whole json instead of just changing the correct property.
A simple example of a json column value (column name is
The
The form components part of the schema:
Obviously I am doing something wrong, but I can't find something in the docs relating to that.
A simple example of a json column value (column name is
metadata):The
TagsInput and the TextInput I use work, and it saves, but then the metadata column is becoming only tags and difficulty.The form components part of the schema:
Obviously I am doing something wrong, but I can't find something in the docs relating to that.