I want to do like this in webpack bootstrap 4 env :
http://v4-alpha.getbootstrap.com/components/forms/#custom-forms
File browser
<label class="custom-file">
<input type="file" id="file" class="custom-file-input">
<span class="custom-file-control"></span>
</label>
How to override the "placeholder" and "button-label" value
Those values are from CSS:
.custom-file-control:lang(en)::after {
content: "Choose file...";
}
.custom-file-control:lang(en)::before {
content: "Browse";
}
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