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

(Octane) skipValidate=true in helper does not work

オープン
#292 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
215
フォーク
98
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。