Hubert Olender

Results 10 comments of Hubert Olender

Upgraded from `2.1.0` (I had this problem in `2.2.0`) to `3.0.0` (https://github.com/miragejs/ember-cli-mirage/releases/tag/v3.0.0) and it works to me (https://www.ember-cli-mirage.com/docs/getting-started/upgrade-guide#3-0-upgrade-guide)

I just realized, that if I change in my validations `on: 'password'` to `on: 'changeset.password'` it works properly, but should it work this way?

This is problematic using `on: 'changeset.password'`, because I also use https://github.com/jasonmit/ember-i18n-cp-validations and I have the error: `"This field doesn't match changeset.password"` with default translation: `confirmation: "{{description}} doesn't match {{on}}",`

I tried too create model from EmberObject, but it's also impossible because of https://github.com/offirgolan/ember-changeset-cp-validations/blob/b833618eb42ae4296f65ac582dc423dbc2a452f7/addon/index.js#L9 ```const model = EmberObject.extend(Validations).create(); let { validateFn, validationMap } = buildChangeset(model);``` @offirgolan Do you have any...

Sorry for spam, but still trying to do something. I created `const model = Ember.Object.extend(Validations).create(Ember.getOwner(this).ownerInjection());` and used `this.changeset = createChangeset(model);` (from `import createChangeset from 'ember-changeset-cp-validations';`) on my confirm validation: ```...

I created PR for this https://github.com/topaxi/ember-service-worker-update-notify/pull/58 I think it should be enough. Can you check it please? EDIT: I removed this branch and created new with some changes below

Unfortunately in my PR something still is missing. I tried to use this branch locally and still had this issue.

Probably it was related to ember-cli-htmlbars version. Now I don't see issues locally. https://github.com/topaxi/ember-service-worker-update-notify/pull/59 Please check it

Discord discussion about this: https://discord.com/channels/480462759797063690/1111254468806316132

@ynotdraw this is about state of invalid form. Yup enable to validate this "on-the-fly". I meant something like management of current state of raised errors. Main question is how to...