Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/attitude/field-radio

Radio field for Cockpit CMS (Next)
https://github.com/attitude/field-radio

Last synced: about 6 hours ago
JSON representation

Radio field for Cockpit CMS (Next)

Awesome Lists containing this project

README

        

# Radio Field for [Cockpit](https://github.com/aheinze/cockpit/tree/next)

Radio button switch

## Installation

```
$ cd cockpit/modules/addons
$ git clone [email protected]:attitude/field-radio.git
```
_Note: Directory must be named **field-radio** for Cockpit to register addon._

## Options

| Paramenter | Type | Description
|:-----------|-----------------|------------
| options | *string\|array* | Comma separated options or array of objects with `value` and `label` (`label` is optional)

Feel free to test it and let me know [@martin_adamko](https://twitter.com/martin_adamko) how works for you. Feel free to open issue if you find one.

Enjoy!