Closed afbora closed 2 years ago
The issue is setting field value as null
and coming from following line:
https://github.com/getkirby/kirby/blob/3.8.0-rc.1/panel/src/components/Forms/Field/ObjectField.vue#L99
It works when field.value
or empty string is returned instead of null
. However, I think that the value
prop of all fields should return the type it supports in order for it to work more stable in the future.
@afbora can you check if this PR also fixes this problem? https://github.com/getkirby/kirby/pull/4699
@bastianallgeier Unfortunately no.
@afbora it was completely unrelated, but this should fix it: https://github.com/getkirby/kirby/pull/4700
✅
Getting following error when using blocks and layout fields within object field
Additional context
Seems to happen when the field is named
blocks
andlayout
, works if you give it another name.