@xiwell/ant-form-validate-tools
TypeScript icon, indicating that this package has built-in type declarations

1.1.8 • Public • Published

ant-form-validate-tools

##example

import { VERIFY_INTEGER } from 'ant-form-validate-tools';
import { Form, Input } from 'ant-design-vue';

export default {
  computed: {
    form () {
      return this.$form.createForm(this, { name: 'example' })
    } 
  },

  render () {
    return (
      <Form>
        <Form.Item label="label">
          {this.form.getFieldDecorator('field', {
            rules: [ VERIFY_INTEGER('error...') ]
          })(
            <Input />
          )}
        </Form.Item>
      </Form>
    )
  }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.81latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.81
1.1.70
1.1.60
1.1.10
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @xiwell/ant-form-validate-tools

Weekly Downloads

1

Version

1.1.8

License

ISC

Unpacked Size

13.4 kB

Total Files

5

Last publish

Collaborators

  • xiwell