odem:autoform-bs-button-group-input

An add-on Meteor package for aldeed:autoform. Provides a single custom input type "bs-boolean-switch".

Installation

In a Meteor app directory, enter:

$ meteor add odem:autoform-bs-boolean-switch

Usage

Specify "bs-boolean-switch" for the type attribute of any input.

{{> afQuickField name="plans" type="bs-boolean-switch"}}

or

plans: {
    type: Boolean,
    autoform: {
        afFieldInput: {
            type: "bs-boolean-switch",
        }
    }
}

Contributing

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