Quantcast
Channel: Ember.JS - Latest topics
Browsing all 4826 articles
Browse latest View live
↧

Validate an input value is a minimum from a computed

@JordanRDesigns wrote: I have an item controller that sets a computed that is equal to a current bid amount, plus a minimum increment. This value should be what the user must enter as a minimum value...

View Article


Why do we use "links" object to specify relationship locations instead of...

@Baumer wrote: I do not understand why Ember Data uses the links object in a serialized payload to find out where the related model resources are located. Passing through the related model ids makes...

View Article


Call and action on a component from a controller

@JordanRDesigns wrote: Not sure if this is possible or the best way to do this, but I have a component that takes and input and upon sliding a button over it will fire an action that using...

View Article

Where to define non-persistable Ember Objects?

@ozzyoli wrote: Hi! I want to create a plain old object to encapsulate a bunch of other objects and operations on those objects. I'm wondering where I should be storing a class definitions for such an...

View Article

Caching Ajax Result without Model?

@riemannzeta wrote: I've wrapped a Bootstrap Typeahead into a component that renders in application.hbs so that the input box with typeahead renders at the top of every page in my app. Right now, I'm...

View Article


Image may be NSFW.
Clik here to view.

How to check whether a class derives from another class?

@ctusch wrote: Hey I'm trying to detect whether a class which is unknown at runtime derives from a certain base class. The obvious way didn't work: if (SomeClass.prototype === BaseClass) { // do stuff...

View Article

What about using BEM-methodology in Ember world?

@underoot wrote: Recently, our team start move out templates to BEM-methodology. After that we faced with several problems, i.e. absence of instruments, which automatically produce short variant of...

View Article

How to correctly do a form with relationships and server side validations?

@GCorbel wrote: This question is also on stackoverflow. In an ember app, using JSON Api adapter, I have those models : # subscription.js import DS from 'ember-data'; export default DS.Model.extend({...

View Article


Use another routes model instead of defining a new one

@JordanRDesigns wrote: Is it still possible to use the model for another route to save the API call? Or maybe does ember data already do this for me if I define the same call? I have an items route...

View Article


Select Box Best Practices

@drdispatch wrote: I'm having a TON of trouble getting a simple select box to work. Your classic select the 'owner' for the 'child' in an association. I have an unanswered, for a few days now, SO...

View Article

Ember-simple-auth does not persist refresh's

@celo wrote: I am so frustrated , i can't figure it out why ember-simple-auth does not persist when the page refresh's... I'm returning the access_token and i follow the docs to implement oauth2.......

View Article

Add JS file without it being built into vendor.js?

@Kilowhisky wrote: I have a case where i need to output a JS file into my /dist/ without it being included in my vendor.js. It seems ember-cli tries its very best to snatch up anything js related and...

View Article

"Sticky" element in Safari

@andrew1 wrote: I've put together an example of a sticky div here. Basically, I have 3 nested elements: sticky-scroller component: sets the height of that will be used on the page .overflow: sets the...

View Article


A little filtering help needed

@JordanRDesigns wrote: I'm struggling to figure out the best way to go about this. I have an items route that has a component rendering an item layout in an each block. I want to have a route called...

View Article

Example for complex form

@GCorbel wrote: Hi, As I said in this thread. I have difficulties to create a from with relationships. I tried to create a single form to build many models an I'm feel I'm fighting the Ember way. I...

View Article


With and without dynamic segments issue

@accelerate wrote: Hello, As a preface, I'm still a bit new to EmberJS, and as such, I haven't gotten a full understanding of many of the Ember concepts. I'm having a bit of trouble figuring out how...

View Article

Model chaining (parent->child1->child2)

@snkani wrote: How do I make nested model work? App.Router.map(function () { this.resource('parents', {path: '/'}, function(){ this.resource('children1', {path: ':id'}, function () {...

View Article


Ember js view object properties is not resetting on rerender of view

@dilip_kumar wrote: view properties is resetting on rerender but why view object properties and array is not resetting on rerender of view. stackoverflow:...

View Article

How to access a component specific value from a nested component

@Hummingbird wrote: I was running into issues with the block params while trying to create a customisable table view. So, first the things I was able to achieve. I created a custom-table component,...

View Article

Keeping queryParams while changing dynamic segment

@Ivan_Youroff wrote: I have a route with dynamic segment: route 'myroute', path: 'myroute/:segment' Corresponding controller has bunch of queryParams as well. What I want to do is to create such links...

View Article
Browsing all 4826 articles
Browse latest View live