How does antd gracefully verify the size of two input?

I have two input, one is the start number and the other is the end number. The start number is smaller than the end number. I see that the validator. can be customized on the antd official website. But there is a problem, for example, I added authentication to both input, but each authentication is only triggered when it is its own change, which leads me to change one. In fact, the verification is correct, but the other one is still error status.
what I want is a validation, which is triggered when either change of two input is triggered.
is a bit verbose. I hope you can read it.

<FormItem
  validateStatus={endNumError ? "error" : ""}
  help={endNumError || ""}
>
  {getFieldDecorator("endNum", {
    initialValue: "0",
    rules: [
      { required: true, message: "" },
      { pattern: /^[0-9]*$/ , message: "" },
      { validator: this.validateReceiptNumber }
    ]
  })(<Input placeholder="" />)}
</FormItem>
Mar.04,2021

see if this is what you want: refer to password verification twice, Password & Confirm Password


both values are put into state? When input onchange, setState changes the value, and then do the verification you want in shouldComponentupdate. That is, an illegal prompt


based on this, the official gives a mandatory update

.
form.validateFields(['endNumber'], { force: true });

that is, when verifying the first startNumber, the value of endNumber will be forcibly checked in the custom check method.

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-1b3d5aa-2b0cc.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-1b3d5aa-2b0cc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?