0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Fix file input (#30086)

This commit is contained in:
Martijn Cuppens 2020-01-25 14:58:32 +01:00 committed by XhmikosR
parent 2e6c9f32bd
commit 3350931585

View File

@ -303,7 +303,10 @@ Validation styles are available for the following form controls and components:
<div class="form-file">
<input type="file" class="form-file-input" id="validationFormFile" required>
<label class="form-file-label" for="validationFormFile">Choose file...</label>
<label class="form-file-label" for="validationFormFile">
<span class="form-file-text">Choose file...</span>
<span class="form-file-button">Browse</span>
</label>
<div class="invalid-feedback">Example invalid form file feedback</div>
</div>
</form>