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

J4.4.9 - Display field type=media in readonly / disabled => Error javascript Misconfiguaration #44570

Open
fuscage opened this issue Dec 3, 2024 · 0 comments

Comments

@fuscage
Copy link

fuscage commented Dec 3, 2024

Steps to reproduce the issue

I try to display a picture in readonly, so I use the media with the attributes disabled=true and readonly=true

Expected result

display picture in read only withtout error javascript and with the picture

Actual result

no picture and display in readonly with this error JS :
Uncaught Error: Misconfiguaration...
at JoomlaFieldMedia.connectedCallback

I think that in Joomla 4.4.6, it was ok

workaround is to set the class=disabled (instead disabled=true) but the button to chose an picture is still there... but no erreur js and picture is there

System information (as much as possible)

Joomla 4.4.9

Additional comments

@fuscage fuscage changed the title J4.4.4.9 - Display field type=media in readonly / disabled => Error javascript Misconfiguaration J4.4.9 - Display field type=media in readonly / disabled => Error javascript Misconfiguaration Dec 3, 2024
@chmst chmst added the bug label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants