Tree Select
Selezione Albero
Un Tree Select mostra scelte annidate in un albero che si può aprire. Può permettere una o molte scelte.
Un esempio vero
Un amministratore assegna un report ai team. I livelli di azienda e dipartimento restano visibili durante la selezione.
Parti principali
- 01Etichetta persistente
- 02Input control
- 03Hint or format
- 04Validation message
Usalo quando
Usalo quando le persone devono vedere la gerarchia mentre scelgono uno o più elementi.
Non usarlo quando
Non mettere un albero enorme in un piccolo popup senza ricerca, scorrimento virtuale e chiari stati parziali.
Nome usato nel codice
role=tree + treeitem + selection state Prima di spedire
Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages.
Outcome: Complete the task with Selezione Albero (Tree Select). User context: Un amministratore assegna un report ai team. I livelli di azienda e dipartimento restano visibili durante la selezione. Recommended pattern: Selezione Albero (Tree Select). Why it fits: Usalo quando le persone devono vedere la gerarchia mentre scelgono uno o più elementi. Do not use it when: Non mettere un albero enorme in un piccolo popup senza ricerca, scorrimento virtuale e chiari stati parziali. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary): Nessun singolo standard ufficiale controlla l'intero termine. Il suo significato può cambiare tra team, piattaforme o framework. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Selezione Albero (Tree Select) is used now. Definition: Un Tree Select mostra scelte annidate in un albero che si può aprire. Può permettere una o molte scelte. Release checks: Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.