Skip to content
This repository was archived by the owner on Aug 16, 2019. It is now read-only.

Conversation

@zavan
Copy link
Contributor

@zavan zavan commented Jun 22, 2017

  • To make the form available inside the validation block configuration we now pass with: {form: true} as options to the validation method call, instead of calling option :form inside the configure method (which doesn't work in reform's last version);
  • Tell about :i18n being the default error message source for dry-validation when the I18n const is defined.

- To make the form available inside the validation block configuration we now pass `with: {form: true}` as options to the validation method call, instead of calling `option :form` inside the configure method;
- Tell about `:i18n` being the default error message source for dry-validation when the I18n const is defined.
@zavan
Copy link
Contributor Author

zavan commented Jun 22, 2017

Partial duplicate of #102.

@apotonick apotonick merged commit 93d7cc6 into trailblazer:f6 Aug 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants