Comments (4)
@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.
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.
@yasirhantoush thx for the hint!
from emberx-select.
I just got burned by this bug or something similar.
- Component makes
store.query
for data to populate menu. - Promise resolves, we then build out a grouped set of options.
- We then set the value of the belongsTo to the user's preferred default option.
- 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)
- Deprecation warning in Ember 3.4 HOT 1
- Behaviour of {select} integration helper, only works with `on-change`? HOT 3
- Weekly Digest (14 October, 2018 - 21 October, 2018)
- Deploys to surge not working
- ReferenceError: event is not defined - Firefox HOT 6
- Could not find module `@bigtest/interactor` HOT 5
- <xSelect> is not a component and doesn't support block parameters HOT 2
- onChange instead of on-change HOT 1
- Issue in edit case in multiple selected dropdown.
- Migrate to adopted-ember-addons
- Ensure that DEMO url continues to function after micration to adopted-ember-addons
- action arguments change order when optional argument is passed in
- When select is rendered it should not fire `onChange` action if `value` property is equal to `null` or `undefined` HOT 2
- Getting to a v4 release
- How do I upgrade to using the v4.0.0 beta
- Cannot get value HOT 1
- Usage with Octane: Error: Assertion Failed: You cannot access this.$() with `jQuery` disabled. HOT 2
- Error: Assertion Failed: You attempted to update `[]` on `<Array:ember187>`, but it had already been used previously in the same computation. Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.
- Upgrade babel dependency to fix deprecation warning: "Deprecate the Ember Global"
- I can't use this.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emberx-select.