Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA tree select for choosing a person's manager that locks the person and everyone below them, so a reporting loop cannot be created. Use this when editing reporting lines and a cycle would corrupt the org.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it in HR, directory and permission tools where a person's manager can be changed.
Do not use it to pick an arbitrary person (use a combobox) or when reporting lines are read-only.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
people | TreeNode[] | - | The org tree. |
personId | string | - | The person being edited. |
value / defaultValue / onValueChange | string | null | null | The chosen manager id. |
label | string | "Reports to" | Field label. |
aria-haspopup="tree").The pattern ships with a Testing Library test (manager-select.test.tsx) that covers the blocked set, the disabled rows and a valid choice.