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
[4] Hide up/down selector arrows on HTML5 Number textboxes #30885
Labels
Comments
PhilETaylor
changed the title
[4] Hide up/down selector arrows on HTML5 Number textbooks
[4] Hide up/down selector arrows on HTML5 Number textboxes
Oct 2, 2020
We should not override native html5 |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
On a disabled/readonly field the arrows do not appear at all in They do appear on Firefox |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce the issue
Throughout Joomla 4 there are input boxes of
type="number"
- this correctly, in browsers, provided an up and down selector arrow.However, a lot of the
number
boxes Joomla uses for readonly data - and Joomla 4 disables these textboxes to show the user they cannot be modifies.However, disabling a textbox of
type="number"
doesn't remove the up/down arrows, and could lead to confusion that these numbers can be changed, indeed the browser shows visual feedback when they are clicked, even though the number doesn't change.A VERY quick google shows me that the arrows CAN be hidden by CSS easily, and thus applied if a textbox of
type="number"
is disabled.https://www.w3schools.com/howto/howto_css_hide_arrow_number.asp
Expected result
Same as actual result, but without the browser added up and down arrows on disabled fields.
Actual result
System information (as much as possible)
safari on mac
Additional comments
The text was updated successfully, but these errors were encountered: