Tags being added into TagInputField in page properties are getting reordered when dialog is OK'ed | Community
Skip to main content
anjali_biddanda
Level 4
October 16, 2015
Solved

Tags being added into TagInputField in page properties are getting reordered when dialog is OK'ed

  • October 16, 2015
  • 2 replies
  • 1546 views

Open any page in Geometrixx: http://localhost:4602/content/geometrixx/en/company/management.html

In sidekick, go to page properties and add any tags into Tags/Keywords. I've added the 3 tags as shown in the attachment.

Hit OK. Now re-open the page properties dialog. The tags in the TagInputField has been re-ordered. It's not in Alphabetical order, or the order they were entered in the Tagging console when they were created. I do not want these to be re-ordered. They should keep the order in which they were added. CRX/DE however shows the order conserved on the jcr:content node for the page. But the dialog doesn't reflect this. Is there a way to avoid this?

See attachments.

Thanks in advance for any help.

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 edubey

@anjali,

Thanks for screenshots, its seems to be the default behavior of AEM, even I couldn't found anything at Documentation[1] as well.

Can you share why order is required in your use case. Is there any specific requirement.

Try adding a listener to that field which will change the order as it was authored.

https://docs.adobe.com/docs/en/cq/5-6/widgets-api/index.html?class=CQ.tagging.TagInputField

2 replies

anjali_biddanda
Level 4
October 16, 2015

Adding 2 additional attachments

edubey
edubeyAccepted solution
Level 10
October 16, 2015

@anjali,

Thanks for screenshots, its seems to be the default behavior of AEM, even I couldn't found anything at Documentation[1] as well.

Can you share why order is required in your use case. Is there any specific requirement.

Try adding a listener to that field which will change the order as it was authored.

https://docs.adobe.com/docs/en/cq/5-6/widgets-api/index.html?class=CQ.tagging.TagInputField