Quantcast
Browsing all 4826 articles
Browse latest View live

Live filtering data

@mtangoo wrote: I have a working, non-JSONAPI for fetching data using ember data. Its so far working great. Now since I expect to work with a lot of data, I need pagination as well as...

View Article


How can I write jqUERY inside ember component

@anaspm wrote: I have a form inside a modal dialog in an ember component. I have used bootstrap modal dialog. I need to reset formvalidations using jquery on closing the modal dialog. I have an action...

View Article


Modal dialogs (routes) accessible from anywhere in the app (preventing route...

@janvarljen wrote: I would like to create a modal dialog (route) that can be accessed from anywhere in the app, and not deactivate the current route. This is the user flow: The user is on any random...

View Article

Filter Ember Data Store by Related Model's ID

@andrew1 wrote: I've got 2 models -- tasks and actions -- in a belongsTo <--> hasMany. /app/model/action.coffee ... task: DS.belongsTo('task') ... /app/model/task.coffee ... actions:...

View Article

Proper path to upgrade from 1.10 to 2.4 (latest)

@pedromtavares wrote: Hey folks, I started on a massive project a little over a year ago and preferred to work on features rather than upgrading as I went, but now I've found the time to get it up to...

View Article


Image may be NSFW.
Clik here to view.

Filtered & paged API

@planetexpress69 wrote: Hi there, i've got a tiny app up & running. Using ember-data, ember-simple-auth with oauth2 and a the ember-django-adapter. One of my routes fetches some records from from...

View Article

One to many relationship not displaying on detail page

@therealbenhogan wrote: Hi, Rather having a master-detail view, whereby you might have a list of posts in the left hand column and the post detail to right, I have the posts and post detail on...

View Article

Call model method from controller

@hschillig wrote: So in my routes that is setting up the controller, I have this: `import Ember from 'ember'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';...

View Article


Best practice to implement add/update forms?

@hschillig wrote: I'm trying to avoid duplication in my code. In some frameworks, you can implement a model into the form tag and it'll populate the inputs accordingly. How do you do this in Ember so...

View Article


Multiple class names on component?

@ebuchmann wrote: I recently updated to Ember 2.4, Ember data 2.4, and Ember CLI 2.4. I don't think I saw this prior to doing this, but now a lot (may all) of my components have the same class name...

View Article

Howto share subroutes without duplicating them?

@Rick_Meertens wrote: Hi Guys, How can I re-use subroutes in multiple routes.. For example(comments is the subroute I want to re-use/share): this-route('/posts/edit/', {path: /posts/:post_id/edit },...

View Article

Where cleanly use jQuery outside a component?

@Swizz540 wrote: Hi, I am currently building an addon for using ChardinJs with ember apps.However, ChardinJs is a jQuery module. So, my idea is to create components to scope areas for Chardin hints....

View Article

Embedded records without IDs

@Tche wrote: Hello! I must retrieve data from a web API that serves JSON. I do not have control over it and the served JSON is not compliant with ember store format (please see hereunder). Is there...

View Article


Toggle the class name when click the item

@Arunkumar_V wrote: options: ['test','test1','test2'] {{#each options as |option| }} <div {{action 'toggleClass'}} class = ''> {{option}}</div> <input type='text' class='hide'>...

View Article

Translate a value of a object user in the view

@Alessio_Varalta wrote: Hi i have a problem with translation of a value. I have a select and the user can choose one value of this. The option of select is in this format {{t "Bussines"}} So the value...

View Article


How to use ember-table with Ember 2.3

@Kyathil wrote: Greetings! I have a pretty big problem since my job is using an older version of Ember, but wants to convert to a newer version. The application is using ember-table quite a lot, BUT...

View Article

JSON API and Chart Data Standards

@eccegordo wrote: Are there any standards, common conventions, or useful examples of representing chart data that is suited for the following: 1: Follows JSON API specs and convention 2: Sufficiently...

View Article


How can I debug Ember CLI application using PHPStorm?

@IAmJulianAcosta wrote: Can I use PHPStorm breakpoints to debug EmberCLI application? Is this possible? When I toggle a breakpoint in the source file, chrome never sees it, but if I toggle it in the...

View Article

Need help in store.unloadAll test

@kh777 wrote: i m getting error of unknown function when i write the test of unloadAll route : model function model(){ this.store.unloadAll('userModel'); return ['1','2'] }, test : test('unloadAll...

View Article

Image may be NSFW.
Clik here to view.

Accessing inner `model` in outer template

@fguillen wrote: I have a model Post which has a method that returns the nextPost. I want to build a navigation bar that allows me to go to the next post. This can work like this: <!--...

View Article
Browsing all 4826 articles
Browse latest View live