{...getFieldProps("key",{
rules: [
{ required: true, message: "" },
// { validator: this.validateKey },
],
})}
only entering spaces also passed, how to solve it