I'm using  ember-select-2 as a typeahead in ember application.the problem is i can fetch the data from the server but the data isn't showing in dropdown.any help would be appreciated.Thanks in advance.   {{select-2     placeholder="Choose...
This is my directory structure:  controllers/ ---- restaurant/     ----items.js ---- index.js ---- restaurant.js   And my router declaration:  this.route("restaurants",{ path: "/restaurants" });  this.resource("restaurant", {...
I'm using Ember CLI 1.13 and I'm attempting to create a router mixin in an addon that binds to the willTransition hook, but the issue I'm encountering is not limited to this event.   At this point the mixin looks like such:  import Ember...
I am puzzled about importing dependencies in ember-cli, especially about the standard AMD case, as mentioned in the official Ember Cli document. The document doesn't provide much of examples, and seems to me it assumes the readers have good knowl...
I have 2 views that share a view and I am trying to pass variables between them to turn on|off various html segments.  Is this possible?  When I run console.log the view.showTitle variable = "view.showTitle" not 1 like it should be? Odd, righ...
In an ember.js application that I am working on (ember v1.8.0-beta1, ember-cli), I have a page with a simple sign-up type form that includes a country select dropdown. The problem is that since this field has a relatively large number of options (244...
This is currently possible:  ember build --environment=production   ... and I would like to do something like this instead:  ember build --environment=production --baseurl=foo   but config/environment.js only gets passed in the value of environment....
I am new to Ember.js and Javascript in general. I am using ember-cli to create an app that could use a DateUtil class to perform some date manipulation. I noticed that ember-cli has a utilities generator to produce the following boilerplate code in a...
I came across the following code in the Ember CLI website:  export default Ember.Helper.helper(function([value]) {   return value.toUpperCase(); });   What confuses me is the square brackets surrounding the value parameter. I can understand it in a f...
In my app I have this initializer which injects the store into all services:  export function initialize(container, application) {   application.inject('service', 'store', 'store:main'); }  export default {   name: 'inject...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.