fieldOptions

Available properties

See Vue's guide on render function's Data Object In-Depth for more details on all available properties

Since we're using Vue's render functions to create the form elements basically any property that is supported in a render function can be used in the fieldOptions object.

The following properties are tested and supported with vue-form-json-schema

Example

data() {
  return {
    uiSchema: [{
      component: 'input',
      fieldOptions: {
        class: ['form-control'],
        on: ['input']
      }
    }]
  }
}

Last updated