None of the code I've found to change the fill color of a field seems to work for a drop down list. Here are some of the things I've tried:
this.border.fill.presence="visible";
this.fillColor = "255,255,148"; OR this.fillColor.value = "255,255,148";
this.border.fill.presence="visible";
Either of these change the border only, not the fill:
this.ui.oneOfChild.border.fill.color.value="255,255,148"; //border changes to yellow
this.ui.resolveNode("#choiceList").border.fill.color.value ="255,255,148";
Has anyone tackled this problem successfully?
Thanks in advance,
Laurie Murphy
Solved! Go to Solution.
Try first on Browser console and once it is done there, copy the changes in intended CSS.
Sometimes, changes made in CSS/JS files are not reflected because Browser/AEM uses old cached files.
//Delete project specific folder under /var/clientlibs/etc/designs. It will remove cached JS/CSS for that project
~kautuk
Try first on Browser console and once it is done there, copy the changes in intended CSS.
Sometimes, changes made in CSS/JS files are not reflected because Browser/AEM uses old cached files.
//Delete project specific folder under /var/clientlibs/etc/designs. It will remove cached JS/CSS for that project
~kautuk
The first time I opened the form this morning, the behavior was correct. I have tested in IE11, Chrome and Firefox. It must have been the caching.
Thank you so much for your quick response!
Views
Replies
Total Likes
Actually, the problem turned out to be in Designer. I was checking my changes in Preview HTML and the fill color was only applying to the borders. It is still displaying incorrectly even though the deployed form is working properly in each of the 3 browsers I tested.
Views
Replies
Total Likes