How does the Input component in antdesign set its Ref value?

  node.js, question
<Input ref="email" placeholder="email" defaultValue="" />
 If you set this way, you cannot get the value of the input box with How do you set ref?

Not recommendedrefObtainInputIf you must pass therefIf you get it, you can change it to, recommended listeningonChangeTo get the value, see the demo I wrote: …, the official also has relatedissue: …You can look at the official before asking questionsissue