Closed larsjarred9 closed 2 years ago
These file inputs are basically just input groups when it comes to the look. For example:
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Upload</span>
</div>
<input type="text" class="form-control" placeholder="Browse file" readonly="readonly">
<div class="input-group-append">
<button class="btn" type="button">Browse</button>
</div>
</div>
There are some possible issues though: the input is not a type="file"
type, and the JavaScript part would have to be implemented differently as well. To be quite honest, I am not sure that different types of file inputs will be added to the framework. And if they are added, its not going to happen anytime soon. One good and usable version of each commonly used input is a good standard in my opinion.
I would like to have more file inputs such as:
or atleast have those options listed in the documentation since I have absolutly 0 idea on how to make something like this at the moment with halfmoon.
Keep up the good work with the framework. I realy like the boostrap-like classes and the dark mode :) (PS: Light mode could have some improvment as someonelese already stated)