Then try to annotate twice both the label "Brand" and the label "Product". The first action won't be allowed, while I could select as many times as I wanted the label "Product".
Expected behavior
The attribute maxUsage to be effective also when using the attribute alias.
Screenshots
Environment (please complete the following information):
Describe the bug When using both the attribute alias and maxUsages in a label, maxUsages is not effective.
To Reproduce Try to modify the playground example here as follows:
Then try to annotate twice both the label "Brand" and the label "Product". The first action won't be allowed, while I could select as many times as I wanted the label "Product".
Expected behavior The attribute maxUsage to be effective also when using the attribute alias.
Screenshots
Environment (please complete the following information):