-
Notifications
You must be signed in to change notification settings - Fork 12
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
Change the button text #7
Comments
If you are referring to the Nuget package, it is not as straight forward as you might think to change the text of a input type = file. Here is a Stack Overflow link discussing how to do it, but I prefer the way I did it in the sample yesterday (if you get the latest version of this project, the sample was updated). https://stackoverflow.com/questions/5138719/change-default-text-in-input-type-file This isn't exactly what you asked for, but maybe this is an ok workaround for now: I wanted the buttons to match my Sign Up and Login buttons, so I added a pretty simple customization, but I am doing it outside of the Nuget package for now. (a link is easier than me copying the code). I will update the documentation, but there are a few steps to make that work, but pretty easy.
..custom-file=upload input[type="file"] {
Not the same as a [parameter], but not too difficult. I will try and incorporate this to the package with some options someday, but I am behind and some other projects right now. |
Can you add a parameter to make it possible to change the button text to something other than "Choose File"?
The text was updated successfully, but these errors were encountered: