Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 950 Bytes

File metadata and controls

46 lines (38 loc) · 950 Bytes

philip100:autoform-bs-country-field

Meteor Icon

An add-on Meteor package for aldeed:autoform. Provides a Bootstrap select field for countries for AutoForm input field 'bootstrap-countries-field'.

Perequisite

In a Meteor app directory, enter:

AutoForm

In a Meteor app directory, enter:

$ meteor add aldeed:autoform

Installation

philip100:autoform-bs-country-field

$ meteor add philip100:autoform-bs-country-field

Usage

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'
    }
  }
...