in a custom field I’m trying to build the fieldset component fails to render the files field and the structure field.
I have something like this:
<k-fieldset v-model="storedvalues" @input="onInput" :fields="fieldset" />
where fieldset is an array of fields. Text and textarea render fine. A files field shows up initialy but disappears with an error “Cannot read property ‘field’ of undefined” when clicked.
full code is here: https://github.com/art-and-flywork/kirby.field.fieldset
and this issue is here: https://github.com/art-and-flywork/kirby.field.fieldset/issues/1
Am I calling the fieldset the wrong way or is there something else I could do to make it work?