Skip to content
Discussion options

You must be logged in to vote

Yeah, dot notation is used everywhere to access nested fields created using the List or Object widget, so dots in name should 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:

fields:
  - name: extra
    widget: object
    fields:
      - name: foo
        widget: object
        fields:
          - name: enable
            widget: boolean

instead of

fields:
  - name: extra.foo
    widget: object
    fields:
      - name: enable
        widget: boolean

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@elanora96
Comment options

Answer selected by elanora96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants