-
-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
When using choice für an own content trype with an underscroe in "title" "title": "mydoc_sidebar" and after changing the frontmatter taxonomy from one choice to another or deleting the field. the underscore title name like in this example "title": "mydoc_sidebar" is not beeing written to the file.
After selecting another title name without an underscore
"title": "Choice 2"the title with the underscore can be selected
"title": "mydoc_sidebar" again.
This seems only to happen when like in this example there are qoutemarks set.
sidebar: '' in the field.
"frontMatter.taxonomy.contentTypes": [
{
"name": "default",
"pageBundle": false,
"fields": [
...
{
"name": "documentation",
"pageBundle": false,
"fields": [
{
...
{
"title": "Sidebar",
"name": "sidebar",
"type": "choice",
"choices": [
{
"id": "mydoc_sidebar",
"title": "mydoc_sidebar"
},
{
"id": "2",
"title": "Choice 2"
},
{
"id": "3",
"title": "Choice 3"
}
],
"multiSelect": true
},
...
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
