How can I show only XSD files in a file input element? I tried like this
<input type="file" accept="text/xsd" >
But is not working , its allowing all file formats .
How can I show only XSD files in a file input element? I tried like this
<input type="file" accept="text/xsd" >
But is not working , its allowing all file formats .
The way the constraints are specified is not correct. It should be like this:
<input type="file" accept=".xsd" >