Closed frankbits closed 1 year ago
I think the String widget doesn’t have the multiple
option. You need to use the List widget without field
or fields
to save comma-separated strings.
I think the String widget doesn’t have the
multiple
option. You need to use the List widget withoutfield
orfields
to save comma-separated strings.
oh, sry... 😄 did confuse those... thanks... but interestingly it seems to try to do something 🤔🙃
Looks like the multiple
property is used in some places without a proper widget type check. I’ll fix them. Sorry for the confusion 🤣
that was me being too stupid to remember the doc😄
but it's probably good to know of this🙃
Sveltia CMS should have a config validator so users can spot invalid options sooner 🙂 It’s on my todo list but it takes time...
Also, my ultimate goal is to have a config editor UI to eliminate the need for problematic manual config authoring.
Changes to
widget: string
withmultiple: true
can only be saved if another field was added before. If another field is edited after, the change to the "string
-multiple
"-field is reverted. Also while editing, the changes are not visualized in the preview.