Ember validate change validatrors
@pictaile wrote: I use ember-validations . I have mixin validations: `export default Ember.Mixin.create(EmberValidations, { validations: { "model.login": { presence: true, length: {minimum: 8,...
View ArticleHow to link to an element that has both a param and non-param route
@keanedawg wrote: So in the Router I kinda have something that looks like us. this.route('contact', { path: '/contact/:product_id'}); this.route('contact'); The way our website works is if a user...
View ArticleOverlapping of label and value on input text box in materialize in ember
@alice wrote: i have installed materialize plugin in my ember app using ‘bower install materialize’ i have created a form in my hbs– > <div class="input-field col s12 m12 l8"> > <i...
View ArticleTips to make make an addon demo site?
@hugoruscitti wrote: Hi, i’m working in a new ember addon but i wish to simplify the creation of the demo site. I wish to add some usage examples of my addon and some previews. I think...
View ArticleWeird error, a static route asking for dynamic segments
@rzky wrote: I got this crazy error about link-to not being passed it’s required params. It’s crazy because it’s a static top level route that don’t have any segments. Assertion Failed: You attempted...
View ArticleJquery validation plugin to implement in ember
@alice wrote: i have installed jquery validation plugin in my ember-app using bower. link-- https://jqueryvalidation.org/ i have to do form validation for materialize form. how to write this code in...
View ArticleAudio won't play properly on Mobile (Simon Game app)
@tchan28 wrote: Hi there, I hope this is the right place to post this, apologies if not. I’m been playing around with Ember, making some mini projects. My latest one is a Simon Game and a live demo...
View ArticleUsing error event and error substates together
@ykaragol wrote: In a route’s model hook, sometimes promises may fail. In this cases: if the user are transitioning from one route to another: abort transition so that stay at the previous route and...
View ArticleHow to represent complex JSON BackEnd Response with nested arrays in Ember...
@Mhussein27 wrote: Hi All, The below is the BackEnd Response with nested arrays and object , How Can filter two element from the below response and represent them in Ember Model and template . I am...
View ArticleNeed to Drag SVG element
@parekhpiya2002 wrote: Hello All, I have SVG element as canvas. Need to drag this canvas when my graph goes beyong candvas width & height. How to do that. Can anybody help with same? Thanks,...
View ArticledidReceiveAttrs not always called
@ArnaudValensi wrote: Hi! I have a controller with a store (a js object) I pass to my component. The store looks like that: init() { this._super(...arguments); this.pageStore = { section: { style:...
View ArticleIs it Ember a right framework for me?
@Ronin wrote: As a first greeting to everyone here ! I come from php / laravel / codelgniter world, I’m looking for an adequate javascript framework. I would like to make a clean javascript page and...
View ArticlebelongsTo data of the model isn't loaded
@dca123 wrote: Here is my model: loan.js import DS from 'ember-data'; export default DS.Model.extend({ notes: DS.attr('string', {defaultValue: ''}), returned: DS.attr('boolean'), createdAt:...
View ArticleHow to organize services in Ember in right way?
@dimas09 wrote: I have the component Schedule and call it like: {{schedule-show currentSupplier=supplier currentVisitor=visitor}} This component retrives Events of Supplier and draw this events on the...
View ArticleToggle component properties based on loading, load/error, image size
@midget2000x wrote: Really struggling with this one. I have a component responsible for rendering an image. I’m trying to make the component do this: -show ‘loading’ div until image is loaded -detect...
View ArticleChild components based on computed properties -- when property changes,...
@skitterm wrote: In my app, when rendering a list of components based on a computed property, whenever that property is recomputed, each of the list of components gets blown away and reinitialized,...
View ArticleRest spread in Ember Cli 2.14.2
@Donal_Byrne wrote: I just updated from 2.11 to 2.14.2 and now I’m getting Unexpected Token errors for the ... spread operator. Has the babel setup changed quite a bit since 11? And this eslint thing?...
View Article"framework event listeners api errors" in chrome dev tools
@midget2000x wrote: I was trying to debug some event listeners in my test ember app, using the Chrome Dev Tools “Event Listeners” tab, and noticed this error repeating in the console: Framework Event...
View ArticleNested relationships with JSONAPI: grand parent belongsTo relationship not...
@nbrookie wrote: Update 8/12/2017 This seems to be an issue with ember-data itself. I changed my ember-data version to 2.13.2 and this problem did not happen. Scenario ember-cli 2.14.2 ember-data...
View ArticleVery simple Ember Data structure from JSON API
@lamamasters wrote: Good God! I just want to set MODEL data from JSON API with Ember Data. Let’s take some base example (list of user names): URL: https://jsonplaceholder.typicode.com/users My...
View Article