This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Parsec
Parsec

I am trying to make a form-widget myself that takes data from a jsonable field from the table, show the data in a form-partial and be able to edit the data and saving it.

So basically, the form-widget should be able to show the JSONable data as if they were columns in the table and work with them as such. The only option I currently see is to create a partial that creates each of the form elements in php code instead of using the otherwise used .yaml config.

Is there a way to dynamically create and/or alter a form config yaml file or can you make a form-widget partial config with an array? And make the form-widget store the relevant form input fields correctly in the JSON again before saving the data to the database?

jacksun
jacksun

@Parses, I would like to do the same thing, a json editor, any idea on this?

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.