From 5e9ea0818f4ea5df3a0443a39ed5350f28229b42 Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Thu, 12 Oct 2023 11:02:58 +0530 Subject: [PATCH] remove focus on reset button --- .../dhis/mobile/ui/designsystem/component/InputDropDown.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/InputDropDown.kt b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/InputDropDown.kt index 41e5a7c6b..20968ee18 100644 --- a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/InputDropDown.kt +++ b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/InputDropDown.kt @@ -108,10 +108,7 @@ fun InputDropDown( contentDescription = "Reset Button", ) }, - onClick = { - focusRequester.requestFocus() - onResetButtonClicked.invoke() - }, + onClick = onResetButtonClicked ) } } else {