내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Accordian

Avatar

이전 커뮤니티 멤버

Hi All,

I have accordian component. In accordian component  If i enter space in title field it is displaying blank gray bar in accordian component. so i have to trim the white space and hide the blank graybar using js

anyone is having idea on javascript code to trim the white spaces asw well as hiding  blank graybar

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

It is custom implementation & we won;t have knowledge. Just make sure to have listener or validation hook to not allow blank. If you have used pure granite ui then for validation refer http://docs.adobe.com/docs/en/aem/6-0/develop/ref/granite-ui/api/jcr_root/libs/granite/ui/components...

원본 게시물의 솔루션 보기

5 답변 개

Avatar

Level 10

Can you attach the screenshot of what do you mean by graybar? 

Avatar

Level 2

You can include that grey part on condition, Why you want to use Jquery or JS.

Avatar

이전 커뮤니티 멤버

HI PFA

Avatar

정확한 답변 작성자:
Level 10

It is custom implementation & we won;t have knowledge. Just make sure to have listener or validation hook to not allow blank. If you have used pure granite ui then for validation refer http://docs.adobe.com/docs/en/aem/6-0/develop/ref/granite-ui/api/jcr_root/libs/granite/ui/components...

Avatar

Level 10

If you are going the custom route - use an established JS framework lib - such as:

http://jqueryui.com/accordion/

This way - you can control its style and functionality by using the library.