Skip to content

Commit

Permalink
Disable editable prop of TextInput when cell is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Jun 16, 2023
1 parent 7e962bb commit 46d0404
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 46d0404

Please sign in to comment.