From 1f7809174ac229cbcbfb344fbf2f9ea44f32d028 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Fri, 16 Jun 2023 13:13:13 +0200 Subject: [PATCH] [RNMobile] Ensure text input field is not editable when Bottom sheet cell is disabled (#51567) --- packages/components/src/mobile/bottom-sheet/cell.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/mobile/bottom-sheet/cell.native.js b/packages/components/src/mobile/bottom-sheet/cell.native.js index 47c288b1311594..c29025e81d79b3 100644 --- a/packages/components/src/mobile/bottom-sheet/cell.native.js +++ b/packages/components/src/mobile/bottom-sheet/cell.native.js @@ -257,7 +257,7 @@ class BottomSheetCell extends Component { placeholder={ valuePlaceholder } placeholderTextColor={ placeholderTextColor } onChangeText={ onChangeValue } - editable={ isValueEditable } + editable={ isValueEditable && ! disabled } pointerEvents={ this.state.isEditingValue ? 'auto' : 'none' }