kettanaito / react-advanced-form

Functional reactive forms. Multi-layer validation, custom styling, field grouping, reactive props, and much more.
https://redd.gitbook.io/react-advanced-form
MIT License
217 stars 24 forks source link

Adds "createField.assertValue". Ensures arguments in "shouldValidateOnMount" and validation resolvers #315

Closed kettanaito closed 6 years ago

kettanaito commented 6 years ago

Change log

Roadmap

kettanaito commented 6 years ago

The following must be corrected:

./cypress/support/commands.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /root/root/cypress/support/commands.js: Unexpected token, expected ";" (196:50)

  194 |   { prevSubject: true },
  195 |   (subject, errorText) => {
> 196 |     const wrapper = cy.log('Assert error message')wrap(subject).siblings('.invalid-feedback')
      |                                                   ^
  197 | 
  198 |     return errorText === false
  199 |       ? wrapper.should('not.exist')