New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ms-form

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-form

checkout [demo](https://maintstar.github.io/ms-form/build/)

latest
Source
npmnpm
Version
1.7.0
Version published
Maintainers
2
Created
Source

MS-Form

formConnect options


const options = {
  // form name
  form,

  // validate function
  validate,

  // initial values: {...} or (state, props) => ({...})
  initialValues
}

Form gets props

const props = {
  // save form to state
  formChanged: this.formChanged,
  // reset form
  formReset: this.formReset,
  // form values
  formValues,
  // form validation
  formValidation,
  // form isValid flag
  formIsValid,

  // send async validation result through this function
  formAsyncValidationResult: this.asyncValidationResult,

  // function to get changed form, after events
  formGet: this.formGet, // composit, takes input parameters of onChange and onSelected
  formGetOnChange: this.formGetOnChange,
  formGetOnSelected: this.formGetOnSelected,

  // field props generator
  formField: this.formField
}

checkout demo

Keywords

redux, form

FAQs

Package last updated on 23 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts