? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
3 Oct 2021

Pull Request for Issue #35711 .

size
Valid for email, password, tel, url and text input types only. Specifies how much of the input is shown. Basically creates same result as setting CSS width property with a few specialities. The actual unit of the value depends on the input type. For password and text, it is a number of characters (or em units) with a default value of 20, and for others, it is pixels. CSS width takes precedence over size attribute.

As css takes precedence over any size attribute it has been suggested that we remove all size="xx" from the xml form definitions.

Personally I would keep it for all frontend inputs as there may not be any css in the site template for this but I would remove all the admin input sizes as they are redundant.

@chmst @bembelimen

9832c14 3 Oct 2021 avatar brianteeman next
0733266 3 Oct 2021 avatar brianteeman next
avatar brianteeman brianteeman - open - 3 Oct 2021
avatar brianteeman brianteeman - change - 3 Oct 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Oct 2021
Category Administration com_banners com_categories com_config com_contact com_content com_fields com_finder com_installer com_languages com_media com_menus com_modules com_newsfeeds com_plugins com_redirect com_tags
avatar chmst
chmst - comment - 6 Oct 2021

Personally I would keep it for all frontend inputs as there may not be any css in the site template for this but I would remove all the admin input sizes as they are redundant.

Not sure if I understand correctly.
You want to let all fields in components and modules unchanged and change only fields in backend?
Yes, agree.

avatar brianteeman
brianteeman - comment - 6 Oct 2021

This PR removes the size option from all fields that are used in the admin because css takes precedence

This PR does not remove the size option from fields displayed in the frontend because there may not be css.

(at least that is what it is supposed to do)

avatar jwaisner
jwaisner - comment - 7 Oct 2021

@brianteeman , do we just need to test everything for this one or are there specific areas / test instructions?

avatar brianteeman
brianteeman - comment - 7 Oct 2021

Really all you need to do is to open any admin form and check that there has been no change in the display.

avatar brianteeman brianteeman - change - 7 Nov 2021
Labels Added: ?
avatar Quy
Quy - comment - 5 Jan 2022

Please resolve conflicts.

avatar brianteeman
brianteeman - comment - 5 Jan 2022

conflicts resolved

avatar Quy
Quy - comment - 7 Jan 2022

I have tested this item successfully on 7ea38a8


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

avatar Quy Quy - test_item - 7 Jan 2022 - Tested successfully
avatar tecpromotion
tecpromotion - comment - 16 Jan 2022

I have tested this item successfully on 7ea38a8


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

avatar tecpromotion tecpromotion - test_item - 16 Jan 2022 - Tested successfully
avatar tecpromotion
tecpromotion - comment - 16 Jan 2022

RTC


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

avatar richard67 richard67 - change - 16 Jan 2022
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 16 Jan 2022

RTC


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

avatar brianteeman brianteeman - change - 18 Jan 2022
Labels Added: ?
avatar brianteeman
brianteeman - comment - 18 Jan 2022

rebased to 4.1

avatar bembelimen bembelimen - change - 20 Jan 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-01-20 02:42:06
Closed_By bembelimen
Labels Added: ?
Removed: ?
avatar bembelimen bembelimen - close - 20 Jan 2022
avatar bembelimen bembelimen - merge - 20 Jan 2022
avatar bembelimen
bembelimen - comment - 20 Jan 2022

Thx

avatar brianteeman
brianteeman - comment - 20 Jan 2022

Thanks

Add a Comment

Login with GitHub to post a comment