Conversation
|
I have tested this item 🔴 unsuccessfully on 59b08bb This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36553. |
|
Slider screenshot. There's no color behind it so it looks empty. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36553. |
|
Even as I didn't change something on the JS side, can you rebuild it with npm or download a new build from here? Because on my dev server it worked after a |
|
The linear-gradient values are different. Fields: Administrator Template Styles: |
|
Found the issue, can you guys test again? Ignore the conflict, will disappear when 4.2 got the commits from 4.1 merged. |
|
The slider shows the colors based on the initial color. So when you change it the range changes. Honestly I'm not much into this, perhaps @dgrammatiko can shed here some light why this happens. It is the same when you give it a default color. |
|
Don't think so as the color range of the slider is based on the available color. So when you choose one, the range changes. So what I do not understand is how to have a fixed color range which works in all situations. |
I need to debug it but it seems that the removal of the About the custom fields and particularly the slider version: it will never work correctly as the JS and the HTML have both IDs hardcoded and you can't really have one ID for multiple fields, will never work (not something you did here and also I had criticised that when this field was introduced but as usual I was ignored) |
|
Would be great if you can help me out here.
Your removed jQuery from core, what did you expect then 🤣 |
And that's my punishment for keeping the project somewhat competitive, fair enough 🙄 Joke aside, I'm kinda busy today, I'll try to sneak some time this weekend, unless someone is faster |





Followup Pull Request for pr #36551 and issue #36548.
Summary of Changes
Adds the layout filter for the color custom field.
Additionally it deprecates the control parameter in favor of the layout one in the color filed to be more inline with the other core form fields.
This should be tested after #36551 is merged.Testing Instructions
Actual result BEFORE applying this Pull Request
Color field is always displayed with the same result.
Expected result AFTER applying this Pull Request
Color field is displayed with different layouts.