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

[4.0] Remove arrows/spinners from ID readonly field #34493

Merged
merged 1 commit into from
Jun 12, 2021

Conversation

Quy
Copy link
Contributor

@Quy Quy commented Jun 11, 2021

Pull Request for Issue #30885.

Summary of Changes

Depending on the browser, the up/down arrows for number type may display when the field is readonly.
This is the case with Firefox and Safari on Mac as reported in the issue.

This PR only fixes the ID readonly field that are visible by changing its type attribute from number to text.

Testing Instructions

Go to the following to add/edit an item and see the ID field.

Content > Articles
Content > Categories
Content > Fields
Content > Field Groups
Components > Contacts
Components > News Feeds
Components > Tags
Users > Manage
System > Redirect

Make sure that add/edit can be saved successfully.

Actual result BEFORE applying this Pull Request

id-arrows

Expected result AFTER applying this Pull Request

id-no-arrows

@Quy Quy changed the title [4.0] Remove arrows/spinners from input type number when readonly [4.0] Remove arrows/spinners from ID readonly field Jun 11, 2021
@ghost
Copy link

ghost commented Jun 12, 2021

I have tested this item ✅ successfully on de7bcf1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34493.

1 similar comment
@alikon
Copy link
Contributor

alikon commented Jun 12, 2021

I have tested this item ✅ successfully on de7bcf1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34493.

@alikon
Copy link
Contributor

alikon commented Jun 12, 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34493.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jun 12, 2021
@chmst chmst added this to the Joomla 4.0 milestone Jun 12, 2021
@chmst chmst merged commit 9b605ca into joomla:4.0-dev Jun 12, 2021
@joomla-cms-bot joomla-cms-bot added PR-4.0-dev and removed RTC This Pull Request is Ready To Commit labels Jun 12, 2021
@chmst
Copy link
Contributor

chmst commented Jun 12, 2021

Thanks!

@Quy Quy deleted the id-spinner branch June 12, 2021 16:09
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

Successfully merging this pull request may close these issues.

None yet

4 participants