You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was like looking for a needle in a haystack until I found the error 😮💨
I have expanded the list blueprint. The selectable value is used for a CSS class. But from number 10 onwards, there is a phenomenon were not the value, but the description is written in the TXT. This also happens with number 99. It also is not significant whether the value is written with or without quotation marks.
I was able to reproduce the error in a fresh starterkit with Kirby 4.4.1.
site/blueprints/blocks/list.yml
name: field.blocks.list.name
icon: list-bullet
wysiwyg: true
preview: list
fields:
text:
label: field.blocks.list.name
type: list
liststyle:
type: select
options:
"01": "List 01"
"02": "List 02"
"03": "List 03"
"10": "This description should not be here"
"99": "That is wired"
default: "01"
For example, if I select “10”, this is the result in the TXT file:
[…]
"blocks":
[
{
"content":
{
"text":"<ul><li>Test</li></ul>","liststyle":"This description should not be here"
},
"id":"40945ac7-b158-462d-baa9-eba3bda84cfe",
"isHidden":false,
"type":"list"
}
]
[…]
But this should be output: "liststyle":"10"
The text was updated successfully, but these errors were encountered:
It was like looking for a needle in a haystack until I found the error 😮💨
I have expanded the list blueprint. The selectable value is used for a CSS class. But from number 10 onwards, there is a phenomenon were not the value, but the description is written in the TXT. This also happens with number 99. It also is not significant whether the value is written with or without quotation marks.
I was able to reproduce the error in a fresh starterkit with Kirby 4.4.1.
For example, if I select “10”, this is the result in the TXT file:
But this should be output: "liststyle":"10"
The text was updated successfully, but these errors were encountered: