title: React Ant Design defaultValue from state does not work
body: <p>I am following Ant design for react <a href="https://ant.design/components/select/" rel="nofollow noreferrer">official docs</a> where they have hard-coded the default value in the select element inline:</p>
  
  <pre><code>defaultValue={['a10', 'c12']}
  </code></pre>
  
  <p>I am trying to use the exact same value from react state and it does not show up at all. If i use <code>value</code> instead of <code>defaultValue</code> then it (same value from state) shows up but it's not editable so using <code>value</code> is not an option.</p>
  
  <p>So basically I have to use <code>defaultValue</code> as shown in the docs but I am totally surprised that it does not render at all. However if I hard code the exact same data <code>['a10', 'c12']</code> it works fine! What is the catch here? Have anyone come across such issue?</p>
  
  <p>Please see the screenshots below. Thanks.</p>
  
  <p>Screenshot 1. values hard coded in the state and it works, the select fields are populated</p>
  
  <p>Screenshot 2. tried using useEffect to update the state (eventually this data will come from API) instead of hardcoding but it does not appear in select fields. but you can see in <code>JSON.stringify()</code> there is value in the state</p>
  
  <p>Screenshot 3. This is how I have used defaultValue as shown in docs</p>
  
  <p><a href="https://i.stack.imgur.com/swgxb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/swgxb.png" alt="values hard coded in the state and it works, the select fields are populated"></a></p>
  
  <p><a href="https://i.stack.imgur.com/NLaLd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NLaLd.png" alt="state value not showing in select"></a></p>
  
  <p><a href="https://i.stack.imgur.com/31WGi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/31WGi.png" alt="use of defaultValue in ant design select"></a></p>