children

An array of fields. The rendered children (vnodes) will be passed in the default slot to the component, unless a slot is set.

data() {
  return {
    uiSchema: [{
      component: 'div',
      children: [
        {
          component: 'div',
          fieldOptions: {
            domProps: {
              innerHTML: 'The first second div'
            }
          }
        },
        {
          component: 'div',
          fieldOptions: {
            domProps: {
              innerHTML: 'The first second div'
            }
          }
        }
      ]
    }]
  }
}

Last updated