Skip to content

Commit

Permalink
[RNMobile] Ensure text input field is not editable when Bottom sheet …
Browse files Browse the repository at this point in the history
…cell is disabled (#51567)
  • Loading branch information
fluiddot committed Jun 16, 2023
1 parent 7631549 commit 1f78091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/mobile/bottom-sheet/cell.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 1f78091

Please sign in to comment.