How to remove the push createdElement
@chiholiu wrote: actions: { addToList: function() { var task = this.get('controller').get('task'); var todoList = document.getElementById('todoList'); console.log(task); var local = [];...
View ArticleWhy emberdata needs Id? Existing api does not return it
@Maowenxin wrote: Api is returning code as key and name as value. Tried to create a model rest serializer to set primary_key to code. Now findrecord(model,) is working , but having difficulty doing...
View ArticleEmber Data, tree-like data, and parent links
@steveklabnik wrote: Hey all! I have a model named Module. It looks like this: import DS from 'ember-data'; export default DS.Model.extend({ name: DS.attr(), modules: DS.hasMany('modules', { inverse:...
View ArticleHow to use jQuery in new Javascript API
@aamirrajpoot wrote: I have been using jQuery for various small things like datepicker and reveal modals and animations in my application, now. I ran ember-modules-codemod and all of my files (800+)...
View ArticleEmber to play nicely with CMS?
@Chris_Johnson wrote: There doesn’t seem to be too much chatter here about Ember apps playing nicely with a CMS for client content updates. Does anyone have any easy solutions for this (preferably not...
View ArticleAn EmberJS developer needed for small chunks of development tasks (knowing...
@javac9 wrote: Hi there! I need an Ember.js developer for the following scenario: I have this project in mind which I initially planned to build completely by myself (I’m a Java dev, but I have chosen...
View ArticleCalling two heatmap layer in ember.js
@dot_three_three wrote: Is there any way of calling two heat-map layer in ember.js inside same template? I even changed the color of one of the heat-map to differentiate between the two but the first...
View ArticleDS Adapter for REST endpoint requiring pagnation
@knu2xs wrote: In this case I have zero control over the REST endpoint for retrieving data. Hence, I am taking a stab at creating an adaptor. The challenge arises with the findAll method, since the...
View ArticlePush product into an array model, controller
@chiholiu wrote: How could I push an item into an array in this case. //controlle/product.js import Controller from ‘@ember/controller’; export default Controller.extend({ appName: “ShoppingCart”,...
View ArticleAdd, remove shoppingcart services
@chiholiu wrote: Tried to connect two pages ‘product.hbs’ where people could add items to shopping cart and ‘checkout.hbs’ where added items should be shown. Anyone here who knows how to get this...
View ArticleTests failing - requiring services after Ember upgrade
@edd wrote: I’ve just done a big jump in ember version (from 2.10ish to 2.17) and trying to get tests to pass again. I’m getting errors like Attempting to inject an unknown injection: 'service:i18n'...
View ArticleEmber Developers x2 needed for greenfield project in Sydney, Australia
@Oliver wrote: Front End Developers (Ember JS) - 6 month initial contract - Sydney, Australia - Greenfield project for an established Global Fintech company. Brand new roles available for an...
View ArticleProblems reloading model with new query param values
@Abuelo wrote: I am new to development and I’ve run into a real problem regarding query parameters and nested roues. I suspect I’m making a fundamental mistake somewhere and I’m hoping someone can...
View ArticleThe right way to integrate Zurb Foundation
@belgoros wrote: I can’t figure out the right way to integrate Zurb Fundation 6 framework with Ember JS. Is it possible ? Some Googling gave me ember-cli-foundation add-on but it does not work...
View ArticleVendor.css vs App.css
@MrChriZ wrote: I’m confused about why there are two CSS files in a new Ember application. What is the difference between Vendor.css and app.css? Thanks, Chris. Posts: 3 Participants: 2 Read full topic
View ArticleCan somebody please explain computed.sort to me?
@knu2xs wrote: Sorting, it should be easy. Sadly, it has me completely flummoxed. I am simply trying to sort records (reaches in my case) based on the river name and name fields in a data store named...
View ArticleHow am I supposed to define my highly embedded JSON relationship?
@brandon99 wrote: I have been struggling with EmberData and using the EmbeddedRecordsMixin to define a particular model relationship I’m using. I have complete control over both the server and Ember...
View ArticleHow to combine meta with live search?
@momcil0 wrote: I am trying to do a seemingly simple thing with a JSON API server in the backend: show a list of users with an input field that filters them by name (server-side filtering), and the...
View ArticleSortable draggable with jQuery problem
@Zlobniy wrote: Hello, I’m a new in ember and have problem. After sorting i’ll try to add new item between item 1 and item 2, but they rendered in not expected place. What i’m doing wrong? ember...
View ArticleComputed array property not getting updated in the dom
@Rahul_Wasnik wrote: Hi Team, I am new to ember js, The version we are using is 1.13.x and I have been facing this problem for over a week now. I have a computed array property otherCurrencies. This...
View Article