panel

panel allows better organization of fields and data. Panel elements can hold other BF elements.

Key
Value(s)
Type
Description

type

panel

string

model

object

unused

title

text

string

Text string that will appear at the top of the panel

footer

text

string

Text that appears at the bottom of the footer.

schema

{}

object

Contains nested form schema

schema.fields

[]

array

Field elements to appear inside the panel

isOpen

boolean

The current state of the panels display

credentials

{}

object

credential object

isForm

boolean

panelStyleClasses

string

bodyStyleClasses

string

Reference

// sample panel object
{
  "schema": {
    "fields": [
      {
        "inputType": "text",
        "label": "My Input",
        "model": "field1",
        "styleClasses": "col-md-12",
        "type": "input"
      }
    ]
  },
  "slots": [],
  "styleClasses": "col-md-6",
  "type": "panel"
}

Last updated