Skip to content

Configuring repository meta

Luka Bebic edited this page Nov 5, 2020 · 2 revisions

Introduction

Configurable inputs may be added to a repository level by placing the meta array(inside the scheme) and then adding the configurable inputs in the meta array.

Code example

meta: [{
  key: 'switch1',
  type: 'SWITCH',
  label: 'Inactive'
}, {
  key: 'description',
  type: 'TEXTAREA',
  label: 'Description',
  placeholder: 'Click to add...',
  validate: {
    rules: {
      max: 250
    }
  }
}]