Skip to content
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

The 'size' parameter is ignored when calling the webmin 'ui_textbox' function. #336

Closed
HID-blefebvre opened this issue Jan 14, 2016 · 5 comments

Comments

@HID-blefebvre
Copy link

Hi,
There is no size attribute in the rendered HTML after a call to the webmin 'ui_textbox' function (<input type="text">).
The size attribute is present for password input (<input type="password">) rendered with the webmin 'ui_password' function.

Note: A workaround is to pass the size attribute in the 'tags' parameter of the 'ui_textbox' function.

@iliajie
Copy link
Collaborator

iliajie commented Jan 14, 2016

Why are you reporting this? Does it cause the issue somewhere?

@HID-blefebvre
Copy link
Author

We are creating / adding our own modules to Webmin and we use the Webmin API and your great theme for that.
So, for example, if we want to create a form with textfields and passwords, all with the same width, the specified size (used as parameter in 'ui_textbox' and 'ui_password' functions) is taken into account for passwords but not for textfields.

@iliajie
Copy link
Collaborator

iliajie commented Jan 15, 2016

Alright, I understood. I will take a close look and do my best to fix in the next release!

Thanks for reporting.

@iliajie
Copy link
Collaborator

iliajie commented Jan 17, 2016

It will be fixed in 17.50. Thanks.

@iliajie iliajie closed this as completed Jan 17, 2016
@HID-blefebvre
Copy link
Author

Great !
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants