?
avatar PhilETaylor
PhilETaylor
3 May 2021

Steps to reproduce the issue

Global Config -> system

Expected result

Database Password help text should be under the field not on top to be consistent with everywhere else

Actual result

Database Password help on top

Screenshot 2021-05-04 at 00 12 53

avatar PhilETaylor PhilETaylor - open - 3 May 2021
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 May 2021
avatar YatharthVyas
YatharthVyas - comment - 4 May 2021

Edit: This seems to be an issue with all type="password" fields that have a description without rules=""
In such cases, an extra description is displayed on top of the field. I'm working on a fix


Original message:

It appears as if the person who wrote this code has intentionally taken extra efforts to hide the description from coming below it so they could place it above. Are you sure this was unintentional and needs to be fixed? (Maybe they kept it above the field because the message is an important warning and needs extra emphasis?)

This can be fixed by removing the hiddenDescription attribute and the markup above. I'd be happy to submit a PR for this if this issue can be confirmed.

<field
	name="password"
	type="password"
	label="COM_CONFIG_FIELD_DATABASE_PASSWORD_LABEL"
	description="COM_CONFIG_FIELD_DATABASE_PASSWORD_DESC"
	filter="raw"
	autocomplete="off"
	size="30"
	hiddenDescription="true"
	lock="true"
/>
avatar Quy Quy - change - 4 May 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-05-04 20:31:02
Closed_By Quy
avatar Quy Quy - close - 4 May 2021
avatar Quy
Quy - comment - 4 May 2021

Please test PR #33536

Add a Comment

Login with GitHub to post a comment