Ternary Field for Cockpit
Ternary switch, similar to boolean, with extra null value
$ 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.
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!