adopted-ember-addons / adopted-ember-addons/ember-changeset-validations

(Octane) skipValidate=true in helper does not work

Aperta
#292 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
215
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi,
I am on a freshly created octane ember project with ember-changeset and ember-changeset-validations installed.
I am not sure if this is the same as #147 but passing the skipValidate=true option like documented in ember-changeset:

`{{#with (changeset this.model this.AccountValidations skipValidate=true ) as |changesetObj|}}`

does not do anything, it is still automatically validating. Doing it manually in JavaScript does work:
```
constructor() {
super(...arguments);
this.changeset = new Changeset(this.args.model, lookupValidator(AccountValidations), AccountValidations, { skipValidate: true });
}
```
Am I doing it wrong or is it still a bug?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.