How can i limit the number of layout parts in the layout field?

I use the layout field as a block but I want to limit it to a single layout part. In the panel, there is an option to add more layouts which I’d like to prevent.

How can I limit it?
I tried to use “max: 1” but it does not help here

    type: layout
      - "1/1"
      - "1/2, 1/2"
      - "1/3, 1/3, 1/3"
      - heading
      - text
      - image
      - video
    max: 1 # does not work


Looks like the layout field doesn’t have a max property, so there is no option to limit the number of items.

1 Like

Okay, thanks nevertheless @texnixe.