An add-on Meteor package for aldeed:autoform. Provides a Bootstrap select field for countries for AutoForm input field 'bootstrap-countries-field'.
In a Meteor app directory, enter:
In a Meteor app directory, enter:
$ meteor add aldeed:autoform
philip100:autoform-bs-country-field
$ meteor add philip100:autoform-bs-country-field
Specify "bootstrap-countries-field" in autoform.
Coffeescript
'country':
type: String
label: 'Countries'
autoform:
type: 'bootstrap-countries-field'
javascript
...
'country': {
type: String,
label: 'Countries',
autoform: {
type: 'bootstrap-countries-field'
}
}
...