JSFiddle - React, Tailwind, and code Playground

HTML

<select name='cf_Student'></select>

JavaScript

studentselectValues = [
    { id: '1', key: 'My 1st Option', text: 'First' },
    { id: '2', key: 'My 2nd Option', text: 'Second' },
    { id: '3', key: 'My 3rd Option', text: 'Third' },
];
    
$.each(studentselectValues, function(index, item) {   
    $('select[name="cf_Student"]')
        .append($("<option></option>")
        .attr("value",item.key)
        .text(item.text)); 
});