Circular dependency between services
@ondrejsevcik wrote: Hi, I’m curious how Ember handles circular dependencies between services. Simple example: Service A requires service B Service B requires service A (with “requires”, I mean “is...
View ArticleEmber Action - Bubbles
@JKP wrote: I have a row which contains a drop down in which individual drop down item contains specific actions. The row also has an action. In order to avoid the bubbling of row action in drop down,...
View ArticleEmber services for the fetch data
@Vishwajit_Kolekar wrote: I am using ember ( v 3.0) service to fetch customer data . when i am calling same service from template , it not showing any data . following are the code //service.js export...
View ArticleNamed arguments don't work with default values?
@balint wrote: Hi, Ember 3.1 introduced named arguments in components and I wanted to give it a try in a component I wrote. The component implements a musician form and is therefore called...
View ArticleEmber & TypeScript: class fields and computed properties
@chriskrycho wrote: Ever since Ember 3.1, people have been reporting issues with the advice from my “Typing Your Ember” series, and I finally had some time to document why: it turns out that class...
View ArticleObserver syntax differences
@Pop_Levente wrote: Hi All, can someone explain me what’s the difference between a. observer1: observer(‘prop1,prop2,prop3’, function () { }); b. observer1: observer(‘prop1’,‘prop2’,‘prop3’, function...
View ArticleIs there an alternative to {{each}} for displaying iterative model data?
@sorvah wrote: I’ve been using the {{#each}} component in my application to create tables from models that are loaded via ember-data like: {{#each model as |model|}} // table date using...
View ArticleArray manager component?
@shull wrote: Hello emberistas! We recently put together a component to manage an array (add/update/remove strings from the array) and found some unexpected rendering behavior. We were able to work...
View ArticlewillTransition will not fire without hash
@jrock2004 wrote: I have an app where locationType was set to hash. When I would go into the url and manually change it, my willTransition would fire. Recently I switched it to auto and now when I...
View ArticleAny thought on what might case `infinite rendering invalidation detected`...
@Dan_Monroe wrote: RWJBlue says, basically what is happening is that something is throwing an error during rendering (this should be “ok”, and print the error to the console for you to fix) when an...
View ArticlePassing block parameters to nested routes
@Bauke wrote: Regularly I encounter situations where I’d like to pass a block parameter of a component to a nested route. But as far as I know there is no way the {{outlet}} helper allows this. //...
View ArticleEmber array acting wierd on insertAt (and replace)
@Pop_Levente wrote: hi Guys, since updating to ember 3.x i have alot of errors like method.apply is not a function. it’s happening within array actions like insertAt or replace. an example is below....
View ArticleTesting interim states with the latest test-helpers
@jgwhite wrote: I’m sure it used to be possible to do something like this: let promise = fillIn('.some-field', 'Some value'); assert.ok(someInterimState); await promise; // ... But all the helpers in...
View ArticleChange element position in model on click?
@GregWeb wrote: I’m making a simple todo list and this one has stumped me completely. When I click on a task’s checkmark, I’d like for that element in the model to be moved to the bottom of the list....
View ArticleEmber Data Not binding attributes
@HolgerPeters wrote: I started developing an example project in EmberJS, see https://github.com/HolgerPeters/ember-example-app/tree/rev1 for the complete repo. I wrote a small service in Python as an...
View ArticleNo Data in hasMany Relationship On Initial Load
@ham wrote: ember-cli - 3.20, ember-data - 3.30 I am trying to modify the data in a hasMany relationship in the controller setup but the relationship has no data. However, all the data is there after...
View ArticleIs the design of my List component flawed?
@oliw wrote: I’m trying to build a list component that keeps track of which element is selected is keyboard navigable, i.e. if you tap the Up Arrow key, it selects the previous list item So far I’ve...
View ArticleNaming convention for private/protected properties and methods
@ondrejsevcik wrote: Hello, I couldn’t find any information about naming convention in Ember world for private/protected properties and methods. export default Component { // Attributes passed into...
View ArticleWhat's the attitude towards TypeScript from Core team?
@ondrejsevcik wrote: Hi, I’m curious what’s the attitude towards TypeScript from Ember Core team. I haven’t found any official statement. I see that some parts of the Ember are written in TypeScript....
View ArticleRehydration + FastBoot Progress Question
@Scott_Newcomer wrote: Hi all: I’m curious what people’s experience with rehydration + fastboot have been? Have people tested these features out? Is there anything we as the community can do to help?...
View Article