From 609de8867cdd7434748913cf0c27921f4816a4c2 Mon Sep 17 00:00:00 2001 From: "Krishna (via MelvinBot)" Date: Tue, 24 Mar 2026 18:27:53 +0000 Subject: [PATCH] Allow checkbox interaction for disabled-but-selected items in RadioListItem When a category is deleted but still selected on an expense, the row allows deselection (BaseListItem uses disabled={isDisabled && !item.isSelected}), but the checkbox was unconditionally disabled. This aligns the checkbox disabled logic with the row's existing pattern. Co-authored-by: Krishna --- src/components/SelectionList/ListItem/RadioListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SelectionList/ListItem/RadioListItem.tsx b/src/components/SelectionList/ListItem/RadioListItem.tsx index 7787565e7aef..dbf969f7ceff 100644 --- a/src/components/SelectionList/ListItem/RadioListItem.tsx +++ b/src/components/SelectionList/ListItem/RadioListItem.tsx @@ -48,7 +48,7 @@ function RadioListItem({ containerBorderRadius={CIRCULAR_BORDER_RADIUS} accessibilityLabel={item.text ?? ''} isChecked={!!item.isSelected} - disabled={!!isDisabled} + disabled={!!isDisabled && !item.isSelected} onPress={handleCheckboxPress} /> ),