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 ArticleSane 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 ArticleHow 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 ArticleAccess 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 ArticleRidiculously 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 ArticleAccessing 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 ArticleI 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 ArticleCan'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 ArticlePost 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 ArticleOn 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[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 ArticleAdapter 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 ArticleCorrect 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 ArticleThe 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 ArticleComputed 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 ArticleHow 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 ArticleWhere 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 ArticleAnyone 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 ArticleMy 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 ArticleWhere 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