JSFiddle - React, Tailwind, and code Playground

HTML

<script type="text/javascript">
$(document).ready(function(){
    
    var strPropertyEvents="20 Aug 2014-New Activity 1, 21 Aug 2014-gfdbfjdb ,21 Aug 2014-anubhav, 24 ug 2014-hjdf";
    $('#hiddenActivityDate').val(strPropertyEvents);
    var strList = strPropertyEvents.split(',');
    console.log(strList);
    $.each(strList,function(index,val){
        $("#ProgramList").append('<option>'+val+'</option>');
    });
});
</script>


<input id="hiddenActivityDate" type="hidden" />

<select id="ProgramList"></select>