794 B
794 B
ADDED Requirements
Requirement: Multi-Select Dropdown
The system SHALL provide a dropdown component that allows users to select multiple options using checkboxes.
Scenario: Select Multiple Options
- WHEN a user clicks on the dropdown to open it
- THEN each option in the dropdown list SHALL be preceded by a checkbox.
- WHEN the user clicks on a checkbox
- THEN the state of that checkbox SHALL be toggled (checked/unchecked).
- WHEN the user clicks on another checkbox
- THEN the state of that checkbox SHALL also be toggled, without affecting the selection of other checkboxes.
Scenario: Display Selected Options
- WHEN the dropdown is closed
- THEN the dropdown header SHALL display a summary of the selected options (e.g., "2 selected").