0

When I submit my form, I get the error “Form submission canceled because the form is not connected” in new Chrome Version. Note that I use a file field inside the form panel.

The form was developed using ExtJS 6 Modern Toolkit.

The code for my form:

xtype: 'formpanel',
margin: '20 30',
items: [{
      xtype: 'container',
      id: 'box-img',
      padding: '0 0 30 0',
      layout: {
        type: 'hbox',
        align: 'center',
        pack: 'center'
      },
      items: [{
        xtype: 'container',
        width: 300,
        layout: {
          type: 'vbox',
          align: 'center',
          pack: 'center'
        },
        items: [{
            xtype: 'image',
            height: 300,
            width: 300
          },
          {
            xtype: 'filefield',
            id: 'foto_',
            itemId: 'foto_',
            bodyAlign: 'center',
            label: 'File Gambar',
            name: 'foto_',
            required: true
          }
        ]
      }]
    },

Thanks ,

snorkpete
  • 14,278
  • 3
  • 40
  • 57

0 Answers0