I get a notice saying "Set the file field"

Hello.
It could be stupid, but… I’m inquiring because it hasn’t been resolved for a long time.

A field has been created to upload the image file within the ‘structure’ table.
However, when i click on an image in the panel to enter a caption,
i get a notice saying “Set the file field” and no templates are applied.

Obviously, the template ‘Image’ has been applied and ‘Image’ is registered in the ‘File’ field.
What’s the problem?
스크린샷 2022-04-29 오후 6.25.57

          eximgbox:
            label: 3단 그리드
            type: structure
            fields:
              noteimages:
                  label: 섬네일 이미지
                  type: files
                  layout: cards
                  template: image
                  info: "{{ file.dimensions }}"
                  image:
                    ratio: 5/4
                    cover: true
                  help: 한 장만 사용 가능
                  max: 1

              imgnotice:
                label: 
                type: info
                text: 아래부터는 레이어 창으로 열리는 부분

              noteimagesslide:
                  label: 상세 슬라이드
                  type: files
                  layout: cards
                  template: image
                  info: "{{ file.dimensions }}"
                  image:
                    ratio: 5/4
                    cover: true
                  max: 5
                  help: 최대 5장까지 사용 가능

This doesn’t assign a template, you have to use the uploadsproperty:

   noteimages:
                  label: 섬네일 이미지
                  type: files
                  layout: cards
                  uploads: image
                  info: "{{ file.dimensions }}"
                  image:
                    ratio: 5/4
                    cover: true
                  help: 한 장만 사용 가능
                  max: 1
1 Like

Thank you. I fixed the problem.