How-to inject ember-validations in unit test?
@fgheb wrote: Hello, i'm trying to unit test a model with Ember 2.1.0. I've made the decision to validate state on my models instances. So, I do something like this in my tests:...
View ArticleDeprecation inializer
@kgish wrote: I'm getting a bunch of deprecation warnings about using the initializer API: DEPRECATION: lookup was called on a Registry. The initializer API no longer receives a container, and you...
View ArticleEmber and Postgresql(table values) to json format
@JMendoza wrote: Helloo! I am having problems with the response of my queries sent to ember cli app. For example, I have my models: //models/post.js import DS from 'ember-data'; var attr= DS.attr;...
View ArticleIn checkbox click, change which buttons can be clicked
@celo wrote: I'm starting in ember now, and i already made all my static app, so i "just" need create the ember layer on top. In my events page, i have a list where i'm showing the events (the events...
View ArticleRecommended UI framework
@CE_Dev wrote: Hi, I'm a newbie and looking for the best UI framework for my new ember project. Initially I thought of using Bootstrap because I think it's easy to implement but my searching in Google...
View ArticleCan I use Ember with npm and webpack?
@Pipo wrote: Hi, I try to compare several frameworks and currently struggle with Ember. 1) Can I install Ember with npm? It looks only Bower is supported. 2) Can I use webpack with Ember? It looks...
View ArticleWhy Ember always load external scripts?
@tangmonk wrote: I am in chrome incognito tab Pasted image1218x866 314 KB How to disable that? Posts: 2 Participants: 2 Read full topic
View ArticleHaving some trouble with a computed in a component
@JordanRDesigns wrote: I have an items route that renders a event-item component in an each block like so {{#each model key="id" as |item|}} {{event-item item=item}} {{/each}} On the component I am...
View ArticleHow do actions in components get defined and triggered?
@michaellee wrote: Forgive me if this has been answered elsewhere or if I'm not finding it in the documentation, but how are actions defined in components now triggered? In pre-component fashion I...
View ArticleAccessing properties of input helpers on form
@celo wrote: i'm trying to create a new book in my database, but my layout is very different, i don't have a button submit in my form, he is outside, like: <form> <label>Name</label>...
View ArticleIssues getting tests running through
@Eddie.Sholl wrote: I've got the task of getting existing tests in a moderately sized ember app running and passing. I'm pretty much brand new to ember right now. I'm running into a number of...
View ArticleEmber-cli-simple-auth not sending token
@celo wrote: So, using ember-cli-simple-auth and ember-cli-simple-auth-token. I am able to authenticate fine and access the session (I can display session.token in any of my views once logged in), but...
View ArticleUnhandled Promise error detected
@planetexpress69 wrote: Hello there, I just added a short piece of code (on top of one of my routes) to handle access to my paged API: queryParams: { page: { refreshModel: true }, page_size: {...
View ArticleCan i refresh model without refresh template?
@1111 wrote: hi i change my model and add items , i set the refreshModel: true, and that couse to the model to refresh but also the template, is there solution for the template not to refresh ? Posts:...
View ArticleCan I inject service property?
@tangmonk wrote: Just like: Ember.inject('controller', 'currentUser', 'service:session.data.currentUser') So I can use currentUser directly in template Posts: 4 Participants: 3 Read full topic
View ArticleJSONAPIAdapter: Pagination when using store.findAll
@ctusch wrote: How can I pass pagination information to the server when using store.findAll? When using store.query I could (mis?)use the query object. But how to pass such parameters when using...
View ArticleHow to "eagerly" inject a service
@ctusch wrote: I'm facing the problem where I bind directly to a property of a service from within my template. This won't work if no JS code has accessed the service before. As a workaround I have to...
View ArticleHow can I differentiate between 2 routes when resetNamespace is set to true?
@andrew1 wrote: I'm building an app in Ember 2.2 and I have a modal -- activations -- that I want to be able to open on top of 2 different routes -- index and show. I've setup the router as follows:...
View ArticleComponents: event handlers vs actions
@ctusch wrote: Are event handlers considered bad practice? Should I always use the {{action}} helper in conjunction with the on parameter? Or are there cases when event handlers on the component are...
View Article