atk4 / ui

Robust and easy to use PHP Framework for Web Apps
https://atk4-ui.readthedocs.io
MIT License
439 stars 104 forks source link

ScopeBuilder with errors on returned Scope #2186

Closed mkrecek234 closed 3 months ago

mkrecek234 commented 3 months ago

Error: "Unexpected non-scalar value"

Expected result: ScopeBuilder should be able to store result in form's field, and typecastLoadField should be able to handle input.

My thinking would be to pass the result as json string into the field

mvorisek commented 3 months ago

duplicate of #1843

I do not use ScopeBuilder, do you?

mkrecek234 commented 3 months ago

duplicate of #1843

I do not use ScopeBuilder, do you?

It is very powerful and especially for administrators it might be a huge help. That would also justify to have it available even with the security concerns. Non-working it does not make sense at all.

mvorisek commented 3 months ago

The ScopeBuilder component is piece of hacks, everytime I change something I need to fix ScopeBuilder too. It relies on vue instead of using native atk4 form control components.