Quantcast
Browsing all 4826 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Stuck with the same bug

@komi94 wrote: So, this thread is just a continuation of previous topic (https://discuss.emberjs.com/t/always-getting-not-null-object-even-though-there-are-no-objects-with-these-parameters/13293/10)....

View Article


How To Use Return Value from Controller in Route?

@bcgreen24 wrote: I have this controller (controllers/movies.js): import Ember from 'ember'; export default Ember.Controller.extend({ queryParams: ['t'], actions: { findMovie() { let value =...

View Article


Two design questions;

@komi94 wrote: I have two questions: Is there a way where I can use a button for showing/hiding content separately for every item in each loop? Because I only know how to toggle single property. Is...

View Article

hasMany hell - cannot access hasMany records in a component

@em.b wrote: Hey All, I have a model with a hasMany relationship defined. There’s a template that displays data from the model, and a component on the same template that is supposed to display data...

View Article

Image may be NSFW.
Clik here to view.

Struggling with Normalizing JSON Response

@bcgreen24 wrote: Good day, all you wonder ember.js people! I am trying to consume an API that is returning JSON in a non-standard format. The response looks like thisL { "Search":[...

View Article


Do asset paths defined in environment.js get fingerprinted?

@Garrick wrote: I’m generating a map of asset paths that can be referenced from environment.js but the paths are not being fingerprinted. Is there a trick to this? Posts: 2 Participants: 2 Read full...

View Article

createRecord for relationship of unsaved record

@kaeid wrote: I have the following scenario: 1- Parent route that creates a record for multi-page form routes/feedback.js model() { return this.get('store').createRecord('feedback'); }, 2- child route...

View Article

Ember serve command execution takes too much time on Win7

@jia wrote: When I type in the ‘ember serve’ command on Win7, the command line remains in the state of being executed, and I can not type in any command during this time. Please give me an answer to...

View Article


Nest tabs with embejs

@SpiritAway wrote: Hello, I’m working on a project in which I need to create multiple tabs after a button click. The button click to create these tabs is inside another tab content. I created a...

View Article


How to call Bootstrap jquery function from Ember 2 on specific action

@Mhussein27 wrote: I am doing Chat application ,Currently I managed to add bootstrap/bootsnipp code(Html,css,jquery) in my Ember2.14 project and jquery works fine when I add it in this folder...

View Article

Passing A Promise to Helpers

@emiliogambone wrote: Hi, is there any way to pass a promise not yet fullfilled from a template to an helper? Posts: 4 Participants: 2 Read full topic

View Article

Should I always specify both sides of a relationship?

@mrjerome wrote: For example, if I have a post model and a comment model I would normally say that a post hasMany(‘comment’) and a comment belongsTo(‘post’). Are there situations where I would only...

View Article

JSON Serialization

@t3ndai wrote: Just started hacking or i.e. experimental learning Ember. I have an API that I made used by other clients that gives me a response in the following format. [ { “pay”: 90000 }, { “pay”:...

View Article


Super-Easy REST backend?

@rjoxford wrote: I’m an amateur coming back to an old Ember hobby project. I used Sails Ember Blueprints to get a very quick and easy REST API up and running. I’m aware its pretty out of date… I’m...

View Article

Ember.js 2, transitionTo using multiple synamic segments in first level route

@johnunclesam wrote: I’m using Ember >= 2.13.x. I need to use transitionTo from a route action to go in another route. Here is the demo ember-twiddle:...

View Article


Image may be NSFW.
Clik here to view.

Ignoring optional modules of NPM packages

@bmurphy wrote: Hello, I was wondering if there’s an elegant way to tell Ember-CLI to ignore a package’s optional modules? For example I’m using the NPM package xlsx which has one optional module for...

View Article

Custom Imports, similar to Webpack loaders?

@munstrovcity wrote: I’m attempting to load a .md file and was thinking I could load the contents through my controller as an import on the top. Ex: const someFileContents = require('someFile.md');...

View Article


At when should page permissions be fetched?

@ykaragol wrote: In our applications, we have permission data which is used to enable/disable the current user’s views and abilities. If the a user doesn’t have a permission for a route, the user...

View Article

Compile Error if is not a modifier: Helpers may not be used in the element form

@papakay19 wrote: I in my template the line below <button class="button is-primary is-fullwidth" {{if isButtonDisabled "disabled"}} disabled={{isButtonDisabled}}>Activate Now</button> I...

View Article

getProperties Should Allow Brace Expansion Syntax

@Shadamedafas wrote: Hello, Not sure how difficult the implementation of this would be, but I found myself wanting to use the brace expansion syntax available to computed property declaration in the...

View Article
Browsing all 4826 articles
Browse latest View live