Giter Club home page Giter Club logo

Comments (4)

jbschrades avatar jbschrades commented on July 28, 2024

@yasirhantoush this works to get the correct selected value in the dropdown. However, it then doesn't send the correct value to be updated upon submit. Did you run into this as well?

If I leave off the .content then the correct selected value is sent.

from emberx-select.

jevanlingen avatar jevanlingen commented on July 28, 2024

Yeah, also encountered this problem. The emberx-select just does not work with promises. There's no easy fix either, because the whole code structure is not build to support promises...

from emberx-select.

svox1 avatar svox1 commented on July 28, 2024

@yasirhantoush thx for the hint!

from emberx-select.

nerdyworm avatar nerdyworm commented on July 28, 2024

I just got burned by this bug or something similar.

  1. Component makes store.query for data to populate menu.
  2. Promise resolves, we then build out a grouped set of options.
  3. We then set the value of the belongsTo to the user's preferred default option.
  4. The select menu does not show the correct selection, it defaults to the first item, but when saved the selected item is passed to the server. This ends up confusing the hell out of the users ;)

from emberx-select.

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.