-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form Validation - Validate File #25399
Comments
Agreed, this would be rad. It won't be possible for custom file inputs though; their overall styling requires markup that features a |
@mdo We can not change the style of .form-control-file {
.was-validated &:#{$state},
&.is-#{$state} {
~ .#{$state}-feedback,
~ .#{$state}-tooltip {
display: block;
}
}
} |
This does seem like a bug. For example, In fact this was reported in #24831 but I think the fix there only fixed the situation for custom file inputs, rather than the standard ones. Here's a demonstration (copied from that issue but with Boostratp v4.0.0): https://jsbin.com/vodacon/edit?html,output |
bootstrap/scss/mixins/_forms.scss
Line 53 in 2f4e785
I would like to add a file validation on the following form:
The text was updated successfully, but these errors were encountered: