-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
BFormFile multiple files selected overflows label text #2667
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
Comments
@electrocnic Maybe this is an upstream bug from Bootstrap. Can you please test it here too: |
@jackmu95 Confirmed. :) |
@electrocnic Can you please create an issue over at Bootstrap and reference this issue so we can close it when it get's fixed. |
This sounds like a css/scss issue with bootstrap v4.3 Basically missing the overflow ellipsis rules. |
We could also add maybe an optional formatter callback prop... which would be passed the array of file objects |
You could try adding the following utility classes to the <b-form-file class="text-nowrap text-truncate" ... ></b-form-file> Note that due to the way that the the custom control "browse" is rendered with pseudo elements on the label, the |
OS: Windows,
Chrome,
When I use BFormFile, the content (user-selected Files) will not be trimmed to fit the form:
You can directly try it out in the demo: https://bootstrap-vue.js.org/docs/components/form-file
Just use chrome's debug mode and make the window width small enough that the filename is too long for the form.
The filename will be line-broken, which is not expected.
The text was updated successfully, but these errors were encountered: