The mgt-taxonomy-picker is a web component that queries the Microsoft Graph API for Taxonomy to provide a dropdown control for selecting a single term.
It can retrieve first-level terms from a specific term set, or first-level terms from a specific term within a term set.
Note: This component currently only supports single selection.
<!-- Show first level children of a term set -->
<mgt-taxonomy-picker term-set-id="138a652e-7f23-46f6-b480-13da2308c235"></mgt-taxonomy-picker>
<!-- Show first level children of a specific term under a term set -->
<mgt-taxonomy-picker term-set-id="138a652e-7f23-46f6-b480-13da2308c235" term-id="a56caeb7-3b7d-4d22-93a9-0232e12905f6"></mgt-taxonomy-picker>
<!-- Show children in a specific language (e.g., French) -->
<mgt-taxonomy-picker term-set-id="138a652e-7f23-46f6-b480-13da2308c235" term-id="a56caeb7-3b7d-4d22-93a9-0232e12905f6" locale="fr-FR"></mgt-taxonomy-picker>