Content
View differences
Updated by Henriette Darge 9 months ago
**As** a developer
**I want to** use the filterable tree view without the segmented control or the "include sub-items" checkbox
**so that** I can use the filterable tree view in scenarios, where selections are trivial and have no need of filters.
**Acceptance criteria**
* The developer must be able to set a configuration flag to hide disable the segmented control and/or the "include sub-items" checkbox. control.
* If the segmented control is disabled, the tree view must not show the button group
* If nor the segmented control is disabled, the is no filter applied - except the usual text search.
* If the "include sub-items" checkbox is disabled, the checkbox to include subitems is not shown.
subitems.
* If the "include sub-items" checkbox is not shown, the default behavior is to not include sub-items (❓ )
* The developer must be able to set the default for "Include subitems".
* This might be very useful, if the use case is either "Allways include subitems" or "Never include subitems" - and thus disallawoing the user to change it.
* If the segmented control is disabled, the is no filter applied - except the usual text search.
* ❓ This is debatable. Do we maybe want to pass in a default filter ❓ But usually I'd say, there is no need of that.
**I want to** use the filterable tree view without the segmented control or the "include sub-items" checkbox
**so that** I can use the filterable tree view in scenarios, where selections are trivial and have no need of filters.
**Acceptance criteria**
* The developer must be able to set a configuration flag to hide
* If the segmented control is disabled, the tree view must not show the button group
* If
* If the "include sub-items" checkbox is disabled, the checkbox to include subitems is not shown.
* The developer must be able to set the default for "Include subitems".
* If the segmented control is disabled, the is no filter applied - except the usual text search.
* ❓ This is debatable. Do we maybe want to pass in a default filter ❓ But usually I'd say, there is no need of that.