Created
April 6, 2015 09:17
-
-
Save nocubicles/4bc6ae5ecf04be56fa5f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Products = new Mongo.Collection("products"); | |
| productList = [{label: "first item", value: 1}, | |
| {label: "second item", value: 2}]; | |
| Products.attachSchema(new SimpleSchema({ | |
| Toote_nimetus: { | |
| type: String, | |
| autoform: { | |
| type: "selectize", | |
| afFieldInput: { | |
| multiple: false, | |
| selectizeOptions: productList | |
| } | |
| } | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment