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

https://github.com/meteor-community-packages/meteor-autoform-bs-button-group-input

A Bootstrap button group theme for the "select-checkbox" and "select-radio" AutoForm input types
https://github.com/meteor-community-packages/meteor-autoform-bs-button-group-input

autoform hacktoberfest meteor

Last synced: 10 minutes ago
JSON representation

A Bootstrap button group theme for the "select-checkbox" and "select-radio" AutoForm input types

Awesome Lists containing this project

README

        

aldeed:autoform-bs-button-group-input
=========================

An add-on Meteor package for [aldeed:autoform](https://github.com/aldeed/meteor-autoform). Provides a Bootstrap button group theme for the "select-checkbox", "select-radio", and "boolean-radios" AutoForm input types.

## Installation

In a Meteor app directory, enter:

```bash
$ meteor add aldeed:autoform-bs-button-group-input
```

## Usage

Specify "select-checkbox" or "select-radio" or "boolean-radios" for the `type` attribute of any input, and then specify "buttonGroup" as the `template` attribute.

```js
{{> afQuickField name="plans" type="select-radio" template="buttonGroup" value=2 label=false}}
```

## Contributing

Anyone is welcome to contribute. Fork, make your changes, and then submit a pull request.