Alejandro Gutiérrez
Alejandro Gutiérrez
I think this can work: https://github.com/nathanvda/cocoon/issues/555#issuecomment-553845773
I make it works doing the following: Create a file in `app/javascript/src/cocoon.js` with content in: https://github.com/nathanvda/cocoon/blob/master/app/assets/javascripts/cocoon.js After that, add to your `app/javascript/packs/application.js`: ```javascript require("src/cocoon") ``` I hope this helps you...
@apocolyptic Yes, the gem has to be included in the Gemfile to have the whole functionality and the view helpers.
A good practice is to wrapper authenticated routes: ```js Router.map(function() { this.route('login'); this.route('authenticated', { path: '/' }, function() { // your authenticated routes. }); }); ``` If you can not...
Ember simple auth handles 401 in the DataAdapterMixin which is not longer recommended because Mixins deprecation. Now you can remove completely the mixin and add this to your application adapter:...
Adding debounce value makes it work: ```javascript export default buildValidations({ title: [ validator('presence', true) ], author: [ validator('presence', { presence: true, debounce: 10 }) ] }); ``` This is working...
Getting the same error in Ember 3.10.0-beta.1. Any ideas how to fix it?
@Alonski I tried it and the error is still present. Ember: 3.10.0-beta.1. Ember CP Validation: Your branch
@jderr-mx That fixes my issue. Could that have side effects in other versions?
> For 3.10 I had to update `addon/-private/options.js` to make the constructor always extend the object. > > ``` > export default class Options { > constructor({ model, attribute, options...