Touch UI component placeholders are not coming after 6.4.8.1 upgrade | Community
Skip to main content
Kishore_Kumar_
Level 9
July 1, 2020
Solved

Touch UI component placeholders are not coming after 6.4.8.1 upgrade

  • July 1, 2020
  • 5 replies
  • 2873 views

hi guys,

We are using below div element and attribute to give some placeholder values to touch ui components. It was working fine.

<div data-sly-test="${!wcmmode.disabled}" class="cq-placeholder" data-emptytext="Some Placeholder Text"></div>


But after upgrading to 6.4.8.1(6.4.8.0 SP + CFP 1),  it is not working. Could anyone confirm on this please.

 

It is working fine in 6.4.8.0.

6.4.8.0 Screenshot



6.4.8.1 Screenshot

 



 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

I think this is a profuct bug, you will not see the placeholder unless you have editConfig(I think with cq:inplaceEditing node but not sure). 

5 replies

vanegi
Adobe Employee
Adobe Employee
July 1, 2020

Can you share the detailed steps to replicate the given use case locally? 

 

Kishore_Kumar_
Level 9
July 1, 2020

thanks vanegi, I have updated the screenshots for reference. Can you put this script in any of the component and try please.

<div data-sly-test="${!wcmmode.disabled}" class="cq-placeholder" data-emptytext="Some Placeholder Text"></div>

Theo_Pendle
Level 8
July 1, 2020
I had a very similar issue recently, can you post your entire component HTL please?
Kishore_Kumar_
Level 9
July 1, 2020
thanks theo, can you try putting the script in 6.4.8.1 and check please.
Theo_Pendle
Level 8
July 1, 2020
Sorry I don't have a 6.4.8.1 instance ready-to-go. In order to help, I will need the entire HTL file for your component, not just this one line (unless this one line IS the whole HTL?)
arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 1, 2020

I think this is a profuct bug, you will not see the placeholder unless you have editConfig(I think with cq:inplaceEditing node but not sure). 

Arun Patidar
Kishore_Kumar_
Level 9
July 1, 2020

you got it.. thanks.. 

 

Till 6.4.8.0 below condition was there

 

It will allow us to have placeholder if we have editconfig but either with dropTarget or inplaceEditConfig or only having a edit config

 

But in 6.4.8.1

 

Condition is like to allow a placeholder if we have a editconfig either with dropTarget or inplaceEditingConfig. Edit Config without dropTarget/inplaceEditing is not allowed to have a placeholder.

 

So this need to be fixed i guess, It should allow to have a placeholder only with edit config node as well.