Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

BooleanField

Danil Andreev edited this page Nov 17, 2020 · 1 revision

BooleanField

Overview

BooleanField - class, designed to allow user to add switchers or simple boolean consitions to plugin settigns.

Spec

Property Type Required Description
type "boolean" Yes The type of a field.
name string Yes The variable name. Used to identify field.
label string Yes Label will be displayed in the interface. Nice name of the field.
default boolean Default value of the field.
id number | string Custom identifier. Not used in validation.

Clone this wiki locally