title: How to access custom attribute value of option in react
body: <p>I want to access custom option attribute value but I am failed and I am not able to resolve my problem, could someone please help me to achieve my goal? </p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>&lt;option value="1" data-set="demo"&gt;Value 1&lt;/option&gt;
  </code></pre>
  
  <p>I want to access <code>data-set</code> value in console how it would be possible please help me?</p>