Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 683 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 683 Bytes

meteor-autoform-select-transfer

Adds the ability to use a transfer select to Autoform. It uses the Bootstrap Dual Listbox library.

Install

To install the package run the following command:

meteor add gfknl:autoform-select-transfer

Usage

{{> afQuickField name='myOption' class='input-sm' type='select-transfer' multiple='true' options=selectTransferOptions}}
Template.x.helpers({
  selectTransferOptions: function() {
    return [
     { label: 'Some label', value: 'Some value'},
     { label: 'Some label 2', value: 'Some value2'},
     ...
    ];
  }
});