Quantcast
Browsing all 4826 articles
Browse latest View live

Ember Data 2.4 with new JSON:API specification

@jrock2004 wrote: Trying to call an API that is returning me JSON. I am getting the following error Error while processing route: treatment Assertion Failed: normalizeResponse must return a valid JSON...

View Article


Saving a new record, how should JSON API response look like?

@Bauke wrote: I recently switched to JSON API but I run into trouble when saving a new record. Say I created a record of the model type foobar and save it: let record =...

View Article


Each helper doesn't display firebase data

@mohsalim wrote: app/template/post.hbs: <div> {{input type="text" value=newTitle class="form-control" placeholder="Enter title" autofocus="autofocus"}} {{input type="text" value=newBody...

View Article

Ember Data Models Generator

@nir wrote: Hi guys, A tiny tool I created to facilitate the Ember Data models generation process:Generating and modifying Ember Data models can be a real bummer sometimes, especially when your...

View Article

After Ember build with production flag, the form validations Not working...

@narayanan5122004 wrote: Hi All, After running the ember application with minified version [ ember build --environment=production''], all the application's mandatory filed validations not working...

View Article


Nested Components and Controllers with closure action

@fatbotdesigns wrote: Hi! I have an Ember App where I'm trying to use closure actions, Our setup is the following The action I need is in application.js called invalidateSession. Now our routes are...

View Article

Any way to tell apart some route transitions?

@planetexpress69 wrote: Hi there, is there a smart way to show a loading substate when changing from route A to route B (which may take some time), but not show such a loading substate when route B...

View Article

Ember data, jsonapi spec and errors

@therealbenhogan wrote: Hi all, I am trying to return an error object from my api - for a situation, where for example there are no results returned for a query. This is the type of error object I am...

View Article


Extending LinkComponent works with {{foo}} but not with {{#foo}}

@rusanu wrote: I'm extending LinkComponent like this: entity-link.js import Ember from 'ember'; export default Ember.LinkComponent.extend({ }); entity-link.hbs <span class="glyphicon...

View Article


How Can I Add a Custom Addon to Consuming App

@andrew1 wrote: I'm writing an addon that abstracts out the UI elements for my team. The purpose is to have multiple Ember applications that all use the same style for buttons, panels, growlers,...

View Article

Ember 2.0 IE8 Support via Fastboot?

@swgamerx wrote: Hi everyone, I'm a front end dev that is a Ember noob and i'v got a couple of questions. Im looking to develop a web app with Ember 2.0 but it must support IE8 which Ember dropped...

View Article

Model propertery call another model

@jrock2004 wrote: Ok so I have the follow API response and I am trying to build an appropriate model for it. Mirage { type: 'providers', id: 2, attributes: { category: "Handy", status: true, name:...

View Article

Deploy ember gives UnrecognizedURLError

@Stijn_Aerts wrote: I compile my app for production mode with this command: sudo ember build --environment=production Then I copy the contents of the dist map into a map in filezilla. When I go to...

View Article


Where to place a definition for something that is not a model, route,...

@rusanu wrote: I want to create a type extended from DS.AdapterPopulatedRecordArray (could as well be just an ArrayProxy, the fact that I'm using a DS private type is not relevant, I hope), which I'm...

View Article

Unsafe protocol in the embed tag

@lodrantl wrote: I'm using a query parameter (lets call it url), to set a src of an embed tag on my page. So going to localhost:4200/show?url="http://outsideresource.com/image.svg" should give you a...

View Article


Uncaught ReferenceError: define is not defined

@Roman_Gula wrote: Hi everyone! I have updated ember to 2.4.2 and now I have such errors in my app: Uncaught ReferenceError: define is not defined generateModule @ app-shims.js:240 processEmberShims @...

View Article

Router - setting a property from within the model hook

@therealbenhogan wrote: Hi, I have a router (eg products) where I want to determine dynamically, based on the response of the json api, whether to display a listing of categories or items. In my...

View Article


Image may be NSFW.
Clik here to view.

Where to put my local image?

@adsl99801 wrote: I put image in public/assets/images/image1.jpg in template but I get 404 not found this image?why? Posts: 3 Participants: 2 Read full topic

View Article

How to test the data loading components in Ember 2.3?

@navneet35371 wrote: I created some data loading components following this tutorial http://emberigniter.com/should-components-load-data/ . Now i want to test those components. The issue i am facing is...

View Article

reopenClass method can not pass attribute named name of it?

@ubuntuvim wrote: I am learning to use reopenClass method when I was introduced to a property called name, but when I run the code when an error occurs, the following error message, but I changed the...

View Article
Browsing all 4826 articles
Browse latest View live