Skip to content
Ternary button group for Cockpit CMS (Next)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
LICENSE
README.md
bootstrap.php
components.js
module.json
package.json
preview.png

README.md

Ternary Field for Cockpit

Ternary switch, similar to boolean, with extra null value

Ternary Field Preview

Installation

$ cd cockpit/modules/addons
$ git clone git@github.com:attitude/field-ternary.git

Note: Directory must be named field-ternary for Cockpit to register addon.

Options

Paramenter Type Description
labelNull string null label
labelTrue string true label
labelFalse string false label

Feel free to test it and let me know @martin_adamko how works for you. Feel free to open issue if you find one.

Enjoy!

You can’t perform that action at this time.