An add-on Meteor package for aldeed:autoform. Provides a single custom input type "bs-boolean-switch".
In a Meteor app directory, enter:
$ meteor add odem:autoform-bs-boolean-switch
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",
}
}
}
Anyone is welcome to contribute. Fork, make your changes, and then submit a pull request.