No Code Attached Yet bug
avatar PhocaCz
PhocaCz
9 Apr 2024

Steps to reproduce the issue

Add form field - password type to some subform - for test only, e.g. in :

plugins/schemaorg/book/forms/schemaorg.xml

<field
			name="password"
			type="password"
			label="Dynamically added password field"
			required="true"
			autocomplete="new-password"
			class="validate-password"
			field="password1"
			size="30"
			validate="password"
			strengthmeter="true"
			rules="true"
			force="on"
			filter="raw"
		/>

and test to click on "eye" button to show/hide the password input text.

password-joomla-core

Expected result

The password should be displayed/hidden based on the click on the button

Actual result

The displaying/hiding does not work.

System information (as much as possible)

Joomla 5.0.2

Additional comments

Maybe the media/system/js/fields/passwordview.js should be written the same way like media/system/js/showon.js (to have initialization, etc. so it can work in dynamically created forms too.)

avatar PhocaCz PhocaCz - open - 9 Apr 2024
avatar joomla-cms-bot joomla-cms-bot - change - 9 Apr 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Apr 2024
avatar Fedik Fedik - change - 6 May 2024
Labels Added: bug
avatar Fedik Fedik - labeled - 6 May 2024
avatar richard67 richard67 - change - 27 Oct 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-10-27 16:45:21
Closed_By richard67
avatar richard67 richard67 - close - 27 Oct 2024
avatar richard67
richard67 - comment - 27 Oct 2024

Closing as having a pull request. Please test #44361 . Thanks in advance.

Add a Comment

Login with GitHub to post a comment