FilterGroups

fun FilterGroups(show: MutableState<Boolean>, isAllProjectsFiltering: Boolean, viewModel: GroupsScreenViewModel, extraFilters: @Composable () -> Unit? = null, filterNameRequired: Boolean = true, onDismissAction: () -> Unit? = null)

Dialog layout to allow the user to filter a groups list

Parameters

show

Whether the dialog is shown

isAllProjectsFiltering

Whether is filtering the complete groups list

viewModel

The support viewmodel for the screen

extraFilters

Additive filters to use

filterNameRequired

Whether the filter for the name is required

onDismissAction

The action to execute when the dialog is dismissed