'AEM TagField No Child

I want to use tag field and Im using the resourceType /libs/cq/gui/components/coral/common/form/tagfield is there a way that I can only show level 1 tag and not level 2 or level 3? I tried using datasource node but it is notworking when the resourceType is /libs/cq/gui/components/coral/common/form/tagfield .



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source