Custom panelfield (checkboxes) doesn’t save correctly:
chosenattendeetypeagenda:
label: Chosen Attendee types agenda
type: chosenattendeetypeagenda
<k-input
type="checkboxes"
v-model="value"
:options="[{ value: 'a', text: 'Option A' },{ value: 'b', text: 'Option B' }]"
theme="field"
@input="onInput"
/>
methods: {
onInput(value){
this.$emit("input",value);
}
}
should save like this:
Chosenattendeetypeagenda: a,b
but saves wrong:
Chosenattendeetypeagenda:
- ""
- a
- b
When i adjust the txt-file manually: the checkboxes are shown correctly in the panel.
Am i doing something wrong or is this a bug?