vue-form-json-schema
  • Introduction
  • Installation
  • Getting started
  • API
    • vue-form-json-schema
      • components
      • options
        • ajv
      • schema
      • uiSchema
        • field
          • component
          • children
          • displayOptions
          • dynamicOptions
          • errorHandler
          • errorOptions
          • eventProp
          • fieldOptions
            • attrs
            • class
            • domProps
            • key
            • nativeOn
            • on
            • props
            • slot
            • style
          • internalModel
          • valueModel
          • valueProp
Powered by GitBook
On this page
  1. API
  2. vue-form-json-schema
  3. uiSchema
  4. field
  5. fieldOptions

attrs

Essentially any normal html attributes

// Normal HTML attributes
data() {
  return {
    uiSchema: [{
      component: 'div',
      fieldOptions: {
        attrs: {
          id: 'foo',
          placeholder: 'bar'
        }
      }
    }]
  }
}
PreviousfieldOptionsNextclass

Last updated 5 years ago