-
Notifications
You must be signed in to change notification settings - Fork 17
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
Parameter to change the number of character before trunking of file name. #21
Comments
Hello ! COuld you share a codesandbox plz ? |
Hey i It has been fixed in 2.0.6 ! There is no truncate in JS anymore, CSS handles it now |
Hi. thankful to you! |
Hi,
Sorry I don't have a lot of time for the moment. I will try after my holidays.
Thanks.
Vincent
From: Victor de la Fouchardière ***@***.***>
Sent: mardi 1 août 2023 15:05
To: viclafouch/mui-file-input ***@***.***>
Cc: Vincent Becquevort ***@***.***>; Author ***@***.***>
Subject: Re: [viclafouch/mui-file-input] Parameter to change the number of character before trunking of file name. (Issue #21)
Hey i
It has been fixed in 2.0.6 ! There is no truncate in JS anymore, CSS handles it now
-
Reply to this email directly, view it on GitHub<#21 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AD6AYRKSM472GA3SUVS7US3XTD5HTANCNFSM6AAAAAAZZ3XXUM>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have a problem with the file name displayed in the control. It's limited to a certain fixed number of characters. In my case, I expand the control with the "fullWidth" parameter. The border and the size part are correctly expanded along the form but the file name still trunked with about 18 characters "filename_...xyz.uvw" (leaving much of the control empty).
I found in the code that this text is trunked at 20. Is it possible to change this fixed value to a parameter? Then we can choose it in the view (with a default value of 20).
I think, it's not the best solution because of font behavior (non monospaced typefaces) but a easy to implement solution.
Regards,
Vincent
The text was updated successfully, but these errors were encountered: