JSFiddle - React, Tailwind, and code Playground

JavaScript

var oEl = document.createElement('input');
oEl.type = 'file';
oEl.disabled = false;
// tested on the iPhone : default disabled value is alway set to true and is read-only
var bUploadSupported = (!oEl.disabled);
alert(bUploadSupported);