0
votes

I'm trying to just populate a select from the db. The select works with fix options but not with data from the collection.

For now, I have not removed autopublish package yet as I'm learning.

It looks like the collection is not visible. If I type CarBrands.find() in the browser's console (Chrome) it says: "Uncaught ReferenceError: CarBrands is not defined".

I consider I have not to publish and subscribe anything at this point.

I am following the todos tutorial but with my own idea instead of the todo list. Also, I am using meteor 1.3 (with the imports and all that stuff, as the tutorial shows)

Any help is more than welcome. I've posted this same question in the meteor's forum and there you can see the code as well.

Thanks in advance.

1
double check the path in import { CarBrands } from '../api/utilities.js'; - Nimir
@AnkurSoni that's pure Meteor 1.3 way. I am watching the tutorial I mentioned to do what I want to do - Neo
@Nimir I just checked it. It's alright. Otherwise the browser's console would show me an error - Neo

1 Answers

0
votes

As I am using selectize.js I searched for the issue and I found a kind of answer in here. Yet I am not 100% happy but at least its behaviour is better than before