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

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

Not recommendedrefObtainInputIf you must pass therefIf you get it, you can change it to thisthis.refs.email.refs.input.value, recommended listeningonChangeTo get the value, see the demo I wrote:http://codepen.io/anon/pen/mE …, the official also has relatedissue:https://github.com/ant-design …You can look at the official before asking questionsissue