No Code Attached Yet ?
avatar chmst
chmst
17 Nov 2022

Steps to reproduce the issue

Open an article, go to tab publishing.
The created_by input field looks disabled, but is not

grafik

Expected result

The field looks disabled only if readonly="true"

Actual result

The field looks disabled when readonly=""

System information (as much as possible)

A very old issue

Additional comments

avatar chmst chmst - open - 17 Nov 2022
avatar joomla-cms-bot joomla-cms-bot - change - 17 Nov 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Nov 2022
avatar chmst chmst - change - 17 Nov 2022
Title
created_by field looks disabled but is writeable
Created_by field looks disabled but is writeable
avatar chmst chmst - edited - 17 Nov 2022
avatar crystalenka
crystalenka - comment - 18 Nov 2022

Should it be possible to overwrite it? Do we want to make it disabled for real, remove the styling, or something else?

I do see why this would be implemented - I imagine it's to discourage changing it accidentally since maybe changing the created user would remove someone's permissions to edit it. But "fake" disabled styling isn't the best solution here for sure.

avatar crystalenka crystalenka - change - 18 Nov 2022
Labels Added: ?
avatar crystalenka crystalenka - labeled - 18 Nov 2022
avatar brianteeman
brianteeman - comment - 18 Nov 2022

Isnt it the case that the input is in fact readonly but the button is not disabled.

IE it is showing that you cannot type a username in the input

avatar crystalenka
crystalenka - comment - 18 Nov 2022

I think you're right Brian, but it also gives the impression that the button is (or should be) disabled also, doesn't it? Because those are disabled styles, not readonly (which should be different imho)

avatar chmst
chmst - comment - 18 Nov 2022

On FF a new user is selectable and is stored. Related #39233

avatar brianteeman
brianteeman - comment - 18 Nov 2022

correct. but you cannot type a username directly because the input is indeed readonly.

The best option is probably to change it so that there is just a button and text instead of a button and readonly input

avatar crystalenka
crystalenka - comment - 18 Nov 2022

Readonly input is appropriate, because it's significant info, will be submitted with the form, and should be able to be read by screenreaders etc, but the visual affordance should be different than that of disabled fields.

This is boils down to a styling issue. Not sure if it's part of Bootstrap or our overrides.

avatar chmst chmst - change - 18 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-18 12:34:58
Closed_By chmst
avatar chmst chmst - close - 18 Nov 2022
avatar chmst
chmst - comment - 18 Nov 2022

Technically it is correct, just looks a bit confusing - maybe only for me. Closing now and thank you for reading!

avatar crystalenka
crystalenka - comment - 18 Nov 2022

I agree with you Christiane, it is a little confusing

Add a Comment

Login with GitHub to post a comment