JSFiddle - React, Tailwind, and code Playground

HTML

<select id="cbVoice"></select>

JavaScript

$('#cbVoice').one('mousedown', function() {
   var numOfOpts = 4, opts = [];
   for (var i = 1; i <= numOfOpts; i++) {
       opts.push( $('<option>', { text: 'Option ' + i }) );
   }
   $(this).append(opts);
});