Is there a way to make this work using Semantic-ui?
I have this button, which look OK, but the input file never gets called.
<div class="ui icon big button">
<i class="cloud icon"></i>
<input type="file" id="hidde-new-file" style="display: none">
</div>
I'd recommend adding a label pointing to your hidden input. Labels trigger their input when clicked. All native without JS.
<div>
<label for="hidden-new-file" class="ui icon button">
<i class="cloud icon"></i>
Open File
</label>
<input type="file" id="hidden-new-file" style="display: none">
</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With