Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[manager] Add all necessary form options used in renderer and mappers #705

Closed
66 tasks done
rvsia opened this issue Aug 11, 2020 · 2 comments
Closed
66 tasks done

[manager] Add all necessary form options used in renderer and mappers #705

rvsia opened this issue Aug 11, 2020 · 2 comments
Labels

Comments

@rvsia
Copy link
Contributor

rvsia commented Aug 11, 2020

  • blur: (name) => void, // calls onBlur event on field with given name
  • change: (name, value) => void, // calls onChange event on field with given name
  • focus: (name) => void, // calls onFocus event on field with given name

  • getFieldState: (name) => object, // returns a state of given field, state contains input and meta information of field

@rvsia #716

  • active: false
  • blur: ƒ blur()
  • change: ƒ change(t)
  • data: {}
  • dirty: false
  • dirtySinceLastSubmit: false
  • error: undefined
  • focus: ƒ focus()
  • initial: undefined
  • invalid: false

↩️ length: undefined see #721

  • modified: false
  • name: "checkbox"
  • pristine: true
  • submitError: undefined
  • submitFailed: false
  • submitSucceeded: false
  • submitting: false
  • touched: false
  • valid: true
  • validating: false
  • value: undefined
  • visited: false

  • getRegisteredFields: () => string[], // returns an array of field names that are rendered in DOM

#706

  • active: undefined
  • dirty: false
  • dirtyFields: {}
  • dirtyFieldsSinceLastSubmit: {}
  • dirtySinceLastSubmit: false
  • error: undefined
  • errors: {}
  • hasSubmitErrors: false
  • hasValidationErrors: false
  • initialValues: {}
  • invalid: false
  • modified: {}
  • pristine: true
  • submitError: undefined
  • submitErrors: undefined
  • submitFailed: false
  • submitSucceeded: false
  • submitting: false
  • touched: {}
  • valid: true
  • validating: false
  • values: {}
  • visited: {}

↩️ concat: ƒ () see #721

↩️ insert: ƒ () see #721

↩️ move: ƒ () see #721

↩️ pop: ƒ () see #721
↩️ push: ƒ () see #721

  • registerField: ƒ registerField()

↩️ remove: ƒ () see #721
↩️ removeBatch: ƒ () see #721

↩️ shift: ƒ () see #721

↩️ swap: ƒ () see #721
↩️ unshift: ƒ () see #721
↩️ update: ƒ () see #721

@rvsia
Copy link
Contributor Author

rvsia commented Aug 18, 2020

fieldArray attributes/methods moved to #721

@Hyperkid123
Copy link
Member

🎉 This issue has been resolved in version 3.1.0 🎉

The release is available on

Demo can be found here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants