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
0answers
9 views

Ember 3.5 BelongsTo Relationships not Resolving

i used to have emberjs 1.13 which i upgraded to 3.5 i got an issue with belongsTo relationships where i cannot access those data in it. my code as below model export default DS.Model.extend( { ...
0
votes
0answers
22 views

Ember JS 3.5 Why are the ids not loaded with the hasMany relationship?

I am trying to do a search using the ids from a has many relationship. There is a Promise, but I can't figure out where to wait for it. Ember 3.5 const user = this.get('user'); return user.get('...
0
votes
1answer
24 views

emberjs loading spinner with findRecord

EmberJS 3.4 I'm loading a Project entity from a backend which takes a couple of seconds. Now I would like to show a spinner during loading. as described I created a project-loading.hbs (also tried ...
0
votes
0answers
15 views

Ember cli mirage: using fixtures in acceptance test

I am trying to use fixtures with my acceptance tests however its causing tests to fail due to duplicate data since fixtures are re-inserted in the mirage DB every test. Is there a way to get around ...
0
votes
1answer
19 views

Ember : if a value is set in controller , perform an Ajax command(written in template),

I have given a rough code to understand what I need to perform, /app/route1/controller.js export default Controller.extend({ test: function(id) { $.ajax({ ..... .....
0
votes
1answer
34 views

npm install ember@2.18 gives SyntaxError: Unexpected token <

When I try to run $ npm install to install all modules on project, or when trying to install ember v 2.18 with $ npm install ember@2.18 it gives me the error: npm http GET https://www.npmjs.com/ember ...
2
votes
1answer
36 views

How to detect a period of inactivity in EmberJS?

I am trying to detect a period of user inactivity in my EmberJS application so that, after a certain duration I can call a session.inValidate method and revoke their authentication. The only resource ...
0
votes
2answers
20 views

edit array in ember.js inside javascript file

I have declared an array in ember as shown below. checkboxList:[{VALUE: "Content", CHECKBOX_ID: 1},{VALUE: "Size", CHECKBOX_ID: 2}], I want to change the value in the first object from 'Content' to '...
1
vote
1answer
16 views

How to get the id of the checkbox in ember.js

I am new to ember.js and I need to get the id of the checked checkbox in ember. I have used javascript but in ember it's different. {{input id = 1 type="checkbox"}} {{input id = 2 type="checkbox"}} ...
0
votes
1answer
22 views

Ember handlebars How can I make an Ajax or jquery call for an handlebar file?

<div class="ui form segment"> <div class="field"> <div class="ui selection dropdown" tabindex="0"> <div class="default text"> Select </...
0
votes
0answers
22 views

Testing a Select Element with ember-cli-page-object

Not certain if I'm missing something, this seems like it should be built in. I'm using a native select dropdown on a site and am having issues figuring out how to implement it into my integration ...
0
votes
0answers
36 views

Ember - How to override a controller/mixin action in a component instance

I'm writing a test that checks if an action has been invoked. The action that the component template invokes is defined in a controller mixin: const ControllersActionsMixin = Mixin.create({ actions:...
1
vote
0answers
25 views

Is it posible to create a pwa with screen overlay acces for android?

Hey there! I'm currently working on a new chat webapp for android using emberjs, cordova and firebase. The only problem i encounter is that i can't find anything about the screen overlay access for ...
0
votes
1answer
37 views

ubuntu 18.04- ember: command not found

I know this has been addressed before, but I've tried the advice on No command 'ember' found and it hasn't worked for me. I'm trying to install EmberJs for a techtest and I keep getting '...
0
votes
1answer
27 views

How do I reference a function in the vendor folder in a component?

I'm currently receiving an ES Lint error in the following JS file for a component: import Component from '@ember/component'; export default Component.extend({ didInsertElement() { this.$(...

15 30 50 per page