コミュニティアチーブメントバーを展開する。

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

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Inplace search DropDown AEM6.4

Avatar

Level 3

Hi All,

We have a requirement that we need to populate the dynamic list in dropdown. We achieved that task but the list is almost 700 items so its quite tough for content author to scroll the dropdown to select appropriate value. Is it possible to have a kind of In place search dropdown where content author can type the character and drop down list will only show relevant value. If someone had did it or have any information, Kindly share with us.

Thanks in Advance.

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

Hi,

There is a granite component 'Autocomplete' already available. It does the exact same task which you are looking for.

Autocomplete — Granite UI 1.0 documentation

Screen Shot 2018-08-19 at 12.45.44 AM.png

Thanks

Arun

Arun Patidar

AEM LinksLinkedIn

元の投稿で解決策を見る

3 返信

Avatar

正解者
Community Advisor

Hi,

There is a granite component 'Autocomplete' already available. It does the exact same task which you are looking for.

Autocomplete — Granite UI 1.0 documentation

Screen Shot 2018-08-19 at 12.45.44 AM.png

Thanks

Arun

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 3

Hi Arun,

Thanks for the response. It serve most of the purpose but we need default value for the each dropdown, So can you help us in understanding that how we can set default value in auto complete dropdown. Even in datasource we are using servlet where we are putting selected true to default value.

Avatar

Community Advisor

Hi,

It can't be done from datasource.

For 'select' datasource return options and injected into dom and where you can set property selected=true or selected=selected

For 'autocomplete' datasource return list(li) and injected into dom and due to that you can't set dropdown properties like selected=true or selected=selected

If you know the default value you can directly set the value property with default value in dropdown node in CRXDE

value = "defaultVal"

Arun Patidar

AEM LinksLinkedIn