Giter Club home page Giter Club logo

Comments (4)

miguelcobain avatar miguelcobain commented on August 19, 2024

@ksnyde my bad.
While converting from a previous non-jshint-passing to a cool-jshint-passing project, i missed some brackets in the option creation. Sorry.
v0.0.5 should fix your issues like #2.

I also included a very very simple dummy test app. This app should become the next demo later.

Option paths are expected to start with content., just like Ember.Select expects. Originally this project goal was to completely replace Ember.Select, and it still is compatible!

Thanks and sorry again. Please report any problems.

You can also refer to the old project issues which may contain useful info: https://github.com/miguelcobain/ember-selectize/issues

from ember-cli-selectize.

yankeeinlondon avatar yankeeinlondon commented on August 19, 2024

This problem still exists. I have tried various combinations including:

  • id - results in "undefined"
  • content.id- results in "undefined"
  • content.content.id - results in "undefined"
  • content.content.content.id - results in NO OPTIONS

for the situation I outlined above, what would you expect to work?

from ember-cli-selectize.

yankeeinlondon avatar yankeeinlondon commented on August 19, 2024

Ok, i'm an idiot. I was referring to content.name and the model's mock is out of date and doesn't HAVE that property. Arrgh. Problem sorted.

would be nice if there were an error in this situation but beggars can't be choosers. I may get a PR to you with this if I can catchup on lost time from my general silliness of earlier today.

from ember-cli-selectize.

miguelcobain avatar miguelcobain commented on August 19, 2024

It happens. :)

Just for reference, that string you use is simply getting passed to a get call to each item in content.

from ember-cli-selectize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.