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
- Host: GitHub
- URL: https://github.com/meteor-community-packages/meteor-autoform-bs-button-group-input
- Owner: Meteor-Community-Packages
- License: mit
- Created: 2014-12-06T12:32:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-31T08:18:59.000Z (over 2 years ago)
- Last Synced: 2025-06-16T06:51:48.749Z (10 days ago)
- Topics: autoform, hacktoberfest, meteor
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 6
- Watchers: 10
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.