I am using cq/gui/components/tagspicker in my component dialog and want to display the selected tags in HTL. I have tried directly by using name property but this only displays the first selected tag. How to display all selected tags from component dialog in frontend?
解決済! 解決策の投稿を見る。
トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。
表示
返信
いいね!の合計
Hi @Zendarkke
Can you share you HTL code ? I believe the property is an array so you might need to iterate it.
Also, I suggest using Sling models to read props and make the values available in HTL.
Hi @Zendarkke
Can you share you HTL code ? I believe the property is an array so you might need to iterate it.
Also, I suggest using Sling models to read props and make the values available in HTL.
Thanks , went forward with using the sling model approach