[TASK] Allow customData in FormEngine data compiler
FormEngine is a two-fold process: First all dependent data is compiled into main "data array" by data providers, then the render engine uses this array to render forms. The main data array is restricted, top level keys can not be added or removed by single data providers. With the recent refactorings on element level, it is now much easier to create powerful extensions to single elements. Those may need additional data, the rest of the FormEngine doesn't know about. To allow custom data providers adding data that is not related to other keys from the data array, a general "customData" is introduced to the array. This is not filled nor used by core related classes, but it can be used by extensions to park data here. For v9, we will probably see another patch giving the form data groups control about the data array structure, but that may follow later. For v8 and v7, allowing custom data should solve the one or the other data provider usage for now. C...
Please register or sign in to comment