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

Why don't models fire property change hooks?

@robertneville73 wrote: Please see https://ember-twiddle.com/26abcff088d4ff581b230cab7df178e2?openFiles=models.test.js%2C When I type into the input fields, the model properties are being modified and...

View Article


Sane way of doing arbitrary/dynamic Query Parameters?

@XaserAcheron wrote: I've run into a scenario where I don't know what queryParams to put on my heavily data-driven route until after the model hook is complete. As far as I can tell, Ember doesn't...

View Article


How to import a different config file

@alvincrespo wrote: Quick Question. How does one load in a different config file into a project? Example: I have a data.js file under my-app/config/data.js which exports an array as the default:...

View Article

Access hasMany/belongsTo relationship data with JSONAPI

@danilovaz wrote: Hey guys! Can you help me, please? I have a model Channel, a model Feature, a model ChannelApplication and a model ApplicationFeature. And I defined them like this: My model...

View Article

Image may be NSFW.
Clik here to view.

Ridiculously slow first boot

@valk wrote: Hello everybody. So I built that website that was planned to be as git configuration tool I used ember-cli-rails. But, I found FastBoot and I separated my website into API and to Frontend...

View Article


Accessing route's properties

@kamillacrozara wrote: Hey there. Inside the index.js router I have an action that will set the value to a route's property. Something like this: export default Ember.Route.extend({ myRouteProperty:...

View Article

I can't send form data with relationships to backend

@Yanis_Zakhovskiy wrote: app/routes/ticket/new.js import Ember from 'ember'; export default Ember.Route.extend({ model() { return this.get('store').findAll('ticket'); }, actions: { saveTicket() {...

View Article

Image may be NSFW.
Clik here to view.

Can't get navigation to work

@danielwalton wrote: Hi! I'm struggling with how to approach creating a dynamic navigational menu. Based on user permissions, only specific routes are made available to users. The data for the...

View Article


Post Will Not Persist to Database

@tjnine wrote: What's up ya'll. I knew if anyone would have an answer or help it would be here. I am using a PHP framework called Laravel as an API and I am having some troubles getting Ember to...

View Article


Image may be NSFW.
Clik here to view.

On page/app load create createRecord based on queryParams array

@Lasse_van_den_Bosch wrote: I'm entirely new to EmberJS. I've been fiddling around lately, but find my self in a bit of a jam with a specific issue. I'm still getting grips on the basic concepts of...

View Article

Image may be NSFW.
Clik here to view.

[solved] findRecord then not waiting for resolve

@rafael wrote: I have a findRecord method with the json api convention that looks like this: this.store.findRecord('book', 2).then((book) =>{ console.log(book.get('name')); }); The console log is...

View Article

Adapter pluralization woes

@stevehorne wrote: I have a model type called "criterion". The REST endpoint uses "criteria". My assumption was the ember inflector would handle the pluralization. However... My REST request was made...

View Article

Correct way to load multiple data sources?

@joshhornby wrote: I have a question about the correct way to structure an Ember application. So I have an application/edit/{id} route, my model currently looks like this: model(params) { return...

View Article


Image may be NSFW.
Clik here to view.

The State Of JavaScript: 9K JavaScript developers rate front-end frameworks

@alidcastano wrote: I know there was a previous post on how to beat the AngularJs mindset, and concerns about how to make Ember more approachable for beginners. Here's a survey where 9,000 JavaScript...

View Article

Computed property on model attributes

@ImmortalDragon wrote: Good day.I'm writing component, which depend on model's attributes. (table row, each column - different attribute of a model) I don't know these attributes before runtime.So i...

View Article


How to autosave changes using Ember Data

@alidcastano wrote: I am trying to auto save changes made to a text area. My first approach was to have a function that fires on change, debounce the calls using ember-concurrently, set the updated...

View Article

Where to validate query params

@accelerate wrote: Where is the appropriate place to validate query params? I basically want to check if a query param is valid, and if not, set it to a default value. I had assumed it would be in the...

View Article


Anyone worked with ember and redux?

@l_tonz wrote: Has anyone here played with Redux in Ember appliactions? Does it have any benefits? I feel like the Ember architecture is very similar.. Posts: 4 Participants: 2 Read full topic

View Article

Image may be NSFW.
Clik here to view.

My summary of why I will choose Ember over Angular2

@Hao wrote: I would love to hear your opinion - Experience: My experince with Ember(months) better than Angular (days) - Terminology: Angular( Routes, Component, Services, DI, Providers, Directives,...

View Article

Where is the jsonserializer detail docs

@Hao wrote: Where is the detailed JSONSerializer docs? Guide mainly introduced JSONAPISerializer and a bit about JSONSerializer. I read though API and Guide but I just couldn't find what...

View Article
Browsing all 4829 articles
Browse latest View live