-
|
The validation added in v0.117 broke my configs for fields that are part of a toml table. Since this seems to be intentional, I feel I must ask if I was accessing values incorrectly? For example, in toml front matter I have [extra.foo]
enable = trueI have been setting Now that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yeah, dot notation is used everywhere to access nested fields created using the List or Object widget, so dots in I think you just need to nest the fields like this: fields:
- name: extra
widget: object
fields:
- name: foo
widget: object
fields:
- name: enable
widget: booleaninstead of fields:
- name: extra.foo
widget: object
fields:
- name: enable
widget: boolean |
Beta Was this translation helpful? Give feedback.
Yeah, dot notation is used everywhere to access nested fields created using the List or Object widget, so dots in
nameshould not be allowed. The Relation field is a typical example. Netlify/Decap CMS doesn’t have validation for it though.I think you just need to nest the fields like this:
instead of