react-form-easy

帮助你处理表单状态,校验,简单的组合方式

Usage no npm install needed!

<script type="module">
  import reactFormEasy from 'https://cdn.skypack.dev/react-form-easy';
</script>

README

free-form

帮助你处理表单状态,校验,简单的组合方式

✨ Features

  • 常用组件校验

简介

非受控表单,单项数据流

form对象,可以操作单个Item状态

<FreeForm>
    <FormItem name="xx" label="userName">
        <input/>
    </FormItem>
</FreeForm>

Installing

yarn add free-from

Running the tests

yarn run test

Api

FreeForm | name | type | desc | default | | ----- | ------ | ------ | ------ |

FormItem

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • girl friend give strong backing