How are we doing? Please help us improve Stack Overflow. Take our short survey

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)

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

How to define an Observer in an Ember Octane model?

After being a long-term Ember 2.x user on a long-neglected project, I'm going through the process of updating it to a more modern version of Ember; in this case 4.12. I'm getting hung up on one of the ...
Argus9's user avatar
  • 1,895
1 vote
1 answer
36 views

unshiftObject method is not working in ember

I have the array of Objects and want to concat only the list property of all objects and create a new array. So I have a "combinedList" getter in the below code to combine the list if array ...
Web Dev's user avatar
  • 21
1 vote
1 answer
38 views

Ember 4.x (Octane) - replacement for Observers?

I am nearly done upgrading a very old Ember.js project from 2.13 all the way up to the latest LTS release, 4.12. Along the way I've been coming to grips with the changes that the Octane release ...
Argus9's user avatar
  • 1,895
0 votes
0 answers
28 views

ember js - service usage to show data

I am new to ember js and trying to write my first app... I have : service app/service/event_handler.js import Service from '@ember/service'; export default class EventHandlerService extends Service { ...
0sik's user avatar
  • 31
1 vote
1 answer
19 views

How to transfer an object to an component in ember.js

Ember.js is completely new to me. (Current version 5.4) I would like to build a small WebUI. The login and the menu navigation work great. But I have problems with the loop and visualizing information ...
Mugges's user avatar
  • 13
0 votes
1 answer
13 views

observe json object changes in emberjs template

How to observe json object changes in ember template, here's my test code, I expect to show jsonChange button after I click updateJson, but it didn't test.hbs <button {{on "click" this....
s.w's user avatar
  • 19
0 votes
1 answer
25 views

Hot to scroll to window-top on route load in Emberjs 5.4

In Ember 5.4, when a new route is loaded, and the last view was scrolled, the scroll position remains. I want it to scroll to top of the window instantly if the url/route changed. I made it work with ...
SittingElk's user avatar
0 votes
1 answer
62 views

Why does ember data store share tokens between 2 web apps my domain?

0 I have 2 differents applications in ember.js both connect to the same api: "host1:3000/appA" and "host2:3001/appB". I use nginx so that the client can access appA and appB ...
Torprendido's user avatar
0 votes
0 answers
36 views

ember-component-css in production env on ember 5.3.0 have no styleNamespace

When I am using ember-component-css addon in development env - everything works fine, I got class prefix in each style when i am using {{this.styleNamespace}}. Example: <div class='{{this....
a1723's user avatar
  • 61
0 votes
0 answers
13 views

how to get the previous routename in ember 2.16 to used in back button

i have a analytic route in ember this can be accessed from two routes (example user page and profile page) the below code is used to redirect to the analytic route {{#link-to 'settings.analytic'}}{{...
hariharan baskaran's user avatar
0 votes
1 answer
28 views

Ember-cli not using global version

This might actually more npm/node than just an EmberJS question. Simply speaking I ran npm install -g ember-cli. However, when I check the version using ember --version, it shows me ember-cli: 3.10.1 ...
Darshan's user avatar
  • 969
0 votes
0 answers
23 views

Ember Buffer Keyword

The following Ember code returns "<" symbol. {{{get buffer.buffer.[0]}}} Can someone explain me how it returns "<" symbol and is there any documents or cheat codes to ...
Sanjay Kumar's user avatar
0 votes
1 answer
38 views

Why embe.rjs does not see my controller method in template?

In the project, I have template input: {{#if (communicationPreferenceIs 'Phone')}} <div class="row"> <div class="col-md-4 form-label"> ...
Sam Fisher's user avatar
0 votes
1 answer
36 views

How to create Ember Service that fetches data from Apollo GraphQL Server

I successfully fetched data from Apollo GraphQL Server in Amber route using ember-apollo-client. I tried the same approach to have a service fetching data but I'm getting Uncaught TypeError: this....
Raniere Silva's user avatar
0 votes
1 answer
76 views

Uncaught Error: Could not find module `moment` imported from `ui/routes/application`

I'm trying to upgrade moment from 2.18.0 to 2.29.4 along with ember. I have upgraded ember to 4.12.2 but when I run the application, I'm getting Uncaught Error: Could not find module moment imported ...
deva's user avatar
  • 15
0 votes
0 answers
15 views

Unable to close module dropdown of parent application on clicking anywhere in child application UI screen rendered in Ifaram

I am facing problem to close module dropdown on clicking anywhere in child application UI screen. I am not be able to handle click Outside functionality for dropdown elements defined in Parent ...
lakhan kabra's user avatar
0 votes
0 answers
22 views

Assertion Failed: targetValue must be greater than or equal to 0

When I use ember-table, it works well in application.hbs, but if the same code used as component, I got targetValue Assertion Fail, is there anyway to use EmberTable in component? application.hbs <...
s.w's user avatar
  • 19
0 votes
1 answer
46 views

Ember Fastboot monitor debug tool

I have a Fastboot application running on Docker and lately containers have been consuming a lot of CPU and RAM on the server. Is it possible to monitor what is causing this in Fastboot? Any plugins or ...
Charles's user avatar
1 vote
0 answers
18 views

Hot reload in Ember?

Is there a way to enable hot reload (changing the page content without reloading the whole app) in Ember 4.2? I tried plugins such as ember-ast-hot-load but I can't get them to work.
Samuele Cavalleri's user avatar
1 vote
1 answer
28 views

Is there a way to call an Ember Octane component method with parameters and have it return the text without implementing a helper?

On Ember Octane versions, how would I call a method in the component.js so that it simply returns the string value into the hbs template (without creating a helper)? For example, I want for each item ...
djmistral's user avatar
0 votes
1 answer
79 views

Ember application runtime error uncaught referenceerror ember is not defined vendor.js

I'm trying to upgrade the ember from 3.* to 4.12.2. I'm not getting any compilation issues but when I run my application I'm getting "uncaught referenceerror ember is not defined" inside the ...
deva's user avatar
  • 15
1 vote
0 answers
28 views

How to add draggable elements into fullcalendar event

I customized eventContent and added draggable elements inside of event. But the dragstart and dragstop event of the draggable elements are not emitting. It seems like the fullcalendar prevent other ...
KingStar1001's user avatar
0 votes
0 answers
31 views

Adapter leads code to http://localhost:8088/users but the Tomcat server says ( http://localhost:8088/users ) not available

I have some doubts that I am having application adapter, serializer, model, for storing/retrieving the user details. using Emberjs Java servlet with org.json ajax ember-data/store adapter serializer......
Umamageswari78's user avatar
0 votes
1 answer
37 views

Accessing Ember.js services from browser extension in versions ≥4.0

In Ember 4.0 and up, access to the Ember global object is deprecated. We have a browser plugin for internal debugging/support purposes that would gather some variables from an ember service using this ...
Fdebijl's user avatar
  • 932
0 votes
0 answers
25 views

TypeError : cannot read properties of (undefined 'method') - ember

I got TypeError: cannot read properties of (undefined ‘method’) at r.init (/a/b/cd/de/assets/vendor-sdfsd234234.js:9594:35 When I looked into the 9594 line on character 35 on the vendor file, here is ...
ale tessema's user avatar
0 votes
2 answers
78 views

Ember 5.1 with ember-cli-stencil and third party components not working

I'm stuck. Perhaps someone is able to point me in the right direction to solve my problem. I am trying to use third party stencil components in my ember app. Build is ok, but when i visit the app, ...
Lopo's user avatar
  • 946
0 votes
2 answers
34 views

Ember.js computed property not waiting for asynchronous RSVP promise

I have an Ember.js component where I'm trying to use a computed property to determine its visibility based on the result of an asynchronous RSVP promise. However, it seems like the computed property ...
HurkanSeyhan's user avatar
-1 votes
1 answer
43 views

In Ember data, findAll() is not returning the array in the right order, but the API is returning it in the expected order

So, there is an API, /names. This returns a list of names sorted from the backend. This call is masked by the findAll() method by ember-data in the front-end. There is now another API called /addName, ...
Mandalorean's Code's user avatar
0 votes
0 answers
27 views

Not able to trigger event of parent application on click of Child application plugged-in using IFrame

I have One application created using Ember JS. Inside that I have plugined another application using IFrame created using react JS. I wanted to hide dropdown rendered from parent application by ...
Naman Vijay's user avatar
0 votes
0 answers
26 views

How to add a multi-line text field to a Discourse Community signup page?

I would like to add a multi-line text field to my Discourse community’s signup page, but I am not sure how. Am I able to edit the source code to do this, add a file to the source code, or use a plugin ...
Danny K's user avatar
0 votes
2 answers
43 views

Triggering live-reloading when developing an Ember addon

I'm developing a private Ember addon for my team that will contain a few branded UI components that we will reuse in a bunch of different apps, such as a <BrandHeader /> and <BrandFooter />...
Forrest Deters's user avatar
-1 votes
2 answers
62 views

Loader is not visible without timeout

I am using Ember JS for an application, I want to show the full loader before updating my DOM, like, table.hbs <div id="full-loader"></div> {{#each data as |val|}} <p>...
Subash A's user avatar
0 votes
0 answers
24 views

Issue with accessing params/queryParams inside transition.to/from in Ember 3.8 after adding "transition-state" deprecation

As part of upgrading our project's Ember version from 3.8 to 3.12, we have introduced deprecation id - "transition-state" as a part of deprecation workflow. With this deprecation, it is not ...
Swarn's user avatar
  • 1
1 vote
1 answer
29 views

ember-bootstrap: after installing ember-power-select popovers not working correctly

I created a new project with ember-4.12.1 and installed ember-bootstrap (5.1.1). When I use the BsPopover component it is working as expected. After installing ember-power-select (6.0.1) the popover ...
Arno Schneider's user avatar
0 votes
1 answer
30 views

How to implement dynamic filtering in Ember.js dropdowns?

I'm working on an Ember.js application and I need to implement two dropdowns where the options in the second dropdown are filtered based on the selected value in the first dropdown. I have the ...
Yash Sharma's user avatar
0 votes
1 answer
27 views

How to set a a unique id to the elements of a DOM in ember.js

To add more context, I would like to incorporate Product Fruits to our ember app. The service that we will use is the Tours of Product Fruits. When creating a tour, product fruits target the element ...
Mikelemuel's user avatar
1 vote
0 answers
71 views

How to properly restore a session on reload using ember simple auth custom authenticator's restore() function?

I have followed this YouTube tutorial on getting started with ember simple auth: https://www.youtube.com/watch?v=bSWN4_EbTPI&t=908s I have everything working properly except for when refreshing ...
Dean Longmire's user avatar
0 votes
2 answers
52 views

set variable in hbs template using ember.js

I have an array of data and I need to iterate over it in my hbs template: {{#each-in myArray.[0] as |key value|}} <th> {{value}} </th> {{/each-in}} {{#each-in myArray.[1] as |key ...
user1654719847's user avatar
0 votes
1 answer
17 views

how to update controller after RSVP.allSettled

After all rsvp promises are done in ember controller, how can I save all error status in controller and update DOM? I got undefined 'this', controller no longer accessible. export default class ...
s.w's user avatar
  • 19
1 vote
1 answer
37 views

EMBER: Render div block only if component has yielded

I have the following hbs snippet: <div class='photo-viewer-control' local-class='leftbar'> {{yield to='leftbar'}} </div> I am consuming the leftbar component in: <Viewer> <:...
adhu's user avatar
  • 35
0 votes
0 answers
21 views

ember data 3.28 rollback after save

Is there any way to rollback model after a series of model.save or model.destroyRecord, and partial failed try { await testModel1.save(); //success await testModel2.save(); //fail } catch (error) {...
s.w's user avatar
  • 19
0 votes
1 answer
40 views

Ember JS Issues With Trying To Pass an Action Into a Named Block

I'm trying to make a modal component from scratch in ember js and I'm running into an issue with the button to open the modal. I want to allow the open button to be passed to the component using a ...
Christian Autor's user avatar
1 vote
0 answers
377 views

How to use downloadFile using the Capacitor?

I am using ember.js and one of the functionality of my component is to download a file. I'm trying to use the Capacitor to download a file. Issue: Whenever the code below triggers, I am getting this ...
Mikelemuel's user avatar
1 vote
2 answers
40 views

Automatically triggering an action in Ember when clicking on elements with a specific attribute

How can I automatically trigger an action whenever an element containing a specific attribute in an Ember 3.11 project is clicked? Currently, my structure is as follows: myComponent.js: export ...
eryucel's user avatar
  • 19
0 votes
1 answer
33 views

how to access dom in ember 4.12 controller

I have a input box in DOM, and monitor the input value in controller, and there's another button, if the input value is changed, I want to change the button title or properties accordingly, how can I ...
s.w's user avatar
  • 19
0 votes
1 answer
66 views

Ember upgrade Why can't the module be found

I'm trying to upgrade my Ember project. Specifically, I want to upgrade ember-auto-import to version 2.x. However, this requires at least Ember 4.x. So, I upgraded every dependency in my package.json ...
kcinay055679's user avatar
0 votes
1 answer
21 views

is it possible to override an Ember.set() API?

Need to override Ember.set(obj,key,value) in my application to check for vulnerable arguments for prototype pollution. Need to check if key does not have vulnerable inputs. is there a way to do it? (...
Blg's user avatar
  • 1
1 vote
1 answer
43 views

Passing data from controller to component in ember js

I have situation where a have component that with send a function to the controller and the data is computed in controller.Again I need to send the resultant of the function to the component and do ...
Loki's user avatar
  • 11
0 votes
0 answers
24 views

Build Error (CreateEmberL10nFastBootAssetMap) when starts an Ember Project

I'm trying to create my built folder for an emberJS project, but I get this error when I run the command yarn start Build Error (CreateEmberL10nFastBootAssetMap) ENOENT: no such file or directory, ...
Minh Ho's user avatar
  • 53
0 votes
1 answer
105 views

Upgrading EmberJS project to Node 16 with yarn results in node-sass conflicts. How to fix it?

I'm trying upgrade to Node 16 enviroment on my emberJS project using yarn. package.json: { "devDependencies": { "@babel/core": "^7.22.1", "@babel/plugin-...
Minh Ho's user avatar
  • 53

1
2 3 4 5
480