Form form validation of antd

how can I make the following input less than or equal to the above input?

Mar.10,2021

is verified by validator .


add onChange events to input and get their values to judge.


< FormItem

      labelCol={{
            span: 5,
        }}
      wrapperCol={{
            span: 15,
        }}
      label="A"
    >
      {form.getFieldDecorator('code', {
        rules: [{
          pattern: /^[0-9a-zA-Z]*$/g,
          message: '@@@@@@@@',
        }, {
          required: true,
          message: '@@@@@',
        }, {
          validator: this.codeExists,
        }],
      })(
        <Input />
    )}
    </FormItem>
    
    
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eac351-47e8f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eac351-47e8f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?