Questions tagged [ember.js]

Ember.js is a component-service application framework written in JavaScript. Consider making your question easier to answer by using the preconfigured templates mentioned in this tag's wiki. (Always specify version of ember used when describing your issue)

0
votes
1answer
8 views

Models in ember-fastboot loaded twice

An ember-cli app loads a random model on a certain page. This works as expected. Now that I enabled ember-fastboot server-side rendering, the model is loaded client-side. Upon rehydration, ember.js ...
0
votes
0answers
41 views

Ember.js record.save() is successful, but object has state inflight

I am using a fairly new version of Ember (Ember 3.7.2, Ember Data: 3.7.0) I create a record in the client (using store.createRecord()) and I give it a GUID as the ID. The record must have an ID in ...
0
votes
1answer
13 views

Integration tests CRUD Ember.js

I need to do integration tests for my Ember app, for example in the user template : <div class="container"> <h1>{{model.firstName}} {{model.lastName}}</h1> <p>Age: {{model....
0
votes
2answers
20 views

How do I expose state properties from my add on component to the developer?

I'm currently experimenting with creating add-ons in Ember 3.8 and I'm a bit stuck on how to expose state properties to the developer. I have a simple button in my addon: //ui-button/component.js ...
1
vote
0answers
31 views

How to mount routable ember engine to my consuming app?

I try to mount an engine to my project as per the demo: consuming app: https://github.com/dgeb/ember-engines-demo engine app: https://github.com/dgeb/ember-blog-engine the demo works well. But ...
-1
votes
0answers
16 views

How to change checked radio button default in ember?

hay I have a code for the radio button, the default checked code shows allbrand and I want to change the default checked to ncarbrand this code component.hbs: {{#unless isNewPage}} <div ...
0
votes
1answer
20 views

Ember build adds read permission to some files but not others

In my Ember.js project, I have the following files: public/img/pixels.png 0640 public/img/vector.svg 0640 I'm deploying this inside a Docker nginx container. COPY'd files automatically belong to ...
0
votes
1answer
43 views

ember/avoid-leaking-state-in-ember-objects error for sorting property

import Controller from "@ember/controller"; import { computed } from "@ember/object"; export default Controller.extend({ filter: "", filterTodos: computed("arrangedContent", "filter", function() {...
-1
votes
2answers
69 views

Ember.js and image uploading

I'm having trouble with uploading images in Ember.js I have a form to create a user : <div class="container"> <form onsubmit={{action "createUser"}} enctype="multipart/form-data"> <...
-1
votes
3answers
91 views

action inside li tag does not triggered sometimes in Ember js 1.10

I have multiple tabs in my page which link to some internal routes. When an user clicks on a tab ,the route has to be rendered and also the tab has to be highlighted but once in a few clicks the ...
0
votes
1answer
119 views

Fixing Ember Load Initializers when converting to typescript

Utilizing the ember quick start tutorial trying to convert from Javascript to Typescript. Changing the .js files to .ts files throw an error for the ember-load-initializers import. The application ...
0
votes
1answer
44 views

Ember build issue: “Cannot use the decorators and decorators-legacy plugin together”

I have recently encountered an issue with building my ember project with bitbucket pipelines: + ember build --environment="production" Could not start watchman Visit https://ember-cli.com/user-guide/#...
0
votes
2answers
31 views

How to access a JSON file in my controller

In my Ember app, I have a JSON file filled with data in my public directory (I.E. public/data/articles.json. I have an article route where I would like to load in this data and display it in the ...
0
votes
1answer
22 views

Include nested models but accessing to Proxy objects

Im working in Ember 3.1 and JSON:API format to get data from backend. My models are something like follow: // Continent model export default DS.Model.extend({ name: attr('string'), countries: ...
0
votes
2answers
54 views

Is there a way to define and iterate over an array in ember handlebars templates?

I'm working on a styleguide and need to iterate over an array in a handlebars template. I know that you can iterate over objects or other variables when passed into a template, but is there a way to ...

15 30 50 per page