JSFiddle - React, Tailwind, and code Playground

HTML

<select oninput="alert('select fired input event');">
    <option>Initial</option>
    <option>Another</option>
    <option>Some more</option>
</select>

<input id="input" type="file" \>

JavaScript

document.getElementById('input').addEventListener('input',function(){
alert('TEst')
})