Quantcast
Browsing all 4826 articles
Browse latest View live

How to replace Bower with NPM when using ember-cli?

@przemo_li wrote: Hello. Main use case. NPM can "freeze" dependencies, thus allowing to download exactly those when checking out emberjs code from git. By default ember-cli though use Bower which do...

View Article


Instance initializer changes between 1.13.x and 2.x.x?

@swaggaguru wrote: I've just upgraded my app from 1.13.8 to 2.4.x. I'm seeing something odd happening in my instance-initializer: import Ember from 'ember'; Ember.$(document).on('custom-event',...

View Article


Firebase, belongsTo and select example

@sajt wrote: I like to make a select input for a belongsTo field. I tried a lot of things but do not want to work. I like to see an example about how to use these elements. Thanks! -- Tamas Amon...

View Article

Image may be NSFW.
Clik here to view.

Injecting helper classes

@robwatkin wrote: Hi, I have an existing EmberJS code base onto which I want to introduce some unit tests but I need to mock out some included files. In the example below, how can I inject the...

View Article

peekRecord - can I use a slug rather than id?

@therealbenhogan wrote: Hi, I would prefer to use a unique slug to retrieve my models rather than an ID... This is ok for findRecord eg model(params) { return...

View Article


Best Ember Date Picker?

@psotos wrote: What is everyone using for a date picker in Ember? I found this one: https://github.com/SquireLabs/ember-datepicker but its not even maintained anymore and its not the best date picker...

View Article

Should I use Ember.js for a small application / widget?

@Alvin_Vogelzang wrote: Hi all, I'm investigating if we should use Ember.js for our feedback widget. At the moment we use Ember for our dashboard but our widget is written in jQuery and Jinja 2...

View Article

So many UI Libs , Especially Material , what to choose now?

@v3ss0n wrote: I am looking for ember UI and there are a lot of it. what to choose now? what to use now? Posts: 1 Participants: 1 Read full topic

View Article


Yielding upstream

@barneycarroll wrote: Modals arise in all sorts of situations, often with dynamic content and interactions related to the context which triggers them. With this in mind, it makes sense to have a...

View Article


Image may be NSFW.
Clik here to view.

Reorder lists in PATCH

@janvarljen wrote: Let's say I have an ordered list of items and order is defined by "position" attribute stored in the database. item a (position: 1) item b (position: 2) item c (position: 3) item d...

View Article

Static attributes to components

@tixn wrote: How do I specify attributes the component element has to have that do not change with every new instantiation of the component? Like, a toggle component should always have...

View Article

Component property not calculating on page load in time

@hschillig wrote: So I'm performing a calculation on page load for a component. I'm display multiple rows of data from my controller and then calling a component for each individual record in the...

View Article

Promise chaining in computed property not resolving

@kmsnell wrote: I have three models (product, store, and storeProduct). product and store are related through the storeProduct which has a discount rate applied to individual products in a store. I am...

View Article


Controller-component event propagation

@Ram123 wrote: Hi, I am new to ember, just started this week. Latest version of ember is used. My use case is page has 2 sections. one list view & other details view. setup 2 templates,...

View Article

Source maps, Chrome Remote Debugging and VSCode

@esistgut wrote: Hi all, I'm trying to make VSCode debugging work with Chrome Remote Debugging Protocol and ember-cli and there is something I don't understand on how ember source maps work: if I have...

View Article


Ember.select missing in Ember 2.3

@Deepak_Negi_Sunny wrote: Dear Members, I am converting a product from Ember 1.x to Ember 2.3. In Ember 2.3 there is no Ember.select (dropdown). Please assist me in this. I tried to create a component...

View Article

Save a dashed model

@Ayoros_42 wrote: Hi, I'm in trouble with my model, answer-group.js import DS from 'ember-data'; export default DS.Model.extend({ candidacy: DS.belongsTo('candidacy'), survey: DS.belongsTo('survey'),...

View Article


Ember Siple Auth current user

@mtangoo wrote: I have been searching and trying out this for days and had success with what @emberigniter have written here. The only problem with that approach is that it does not work in routes....

View Article

Return first record with offset

@hschillig wrote: I'm trying to get the first record from a model with an offset.. this is what I am doing in the route so far to grab this: var nextContract = this.store.query('contract', { limit: 1,...

View Article

Design two level side menu approach

@Vianom wrote: For several days I am struggling with side menu in Ember. The idea is to have menu on the left side with approximately 10 elements. Some of them will be simple {{link-to}} elements, but...

View Article
Browsing all 4826 articles
Browse latest View live