Skip to content

Commit

Permalink
Remove placeholder text color when Cell component is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed May 17, 2023
1 parent e808a49 commit d51768d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/mobile/bottom-sheet/cell.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ class BottomSheetCell extends Component {
...valueStyle,
...styleRTL,
};
const placeholderTextColor = disabled ? undefined : '#87a6bc';
const textStyle = {
...( disabled && styles.cellDisabled ),
...cellValueStyle,
Expand All @@ -247,7 +248,7 @@ class BottomSheetCell extends Component {
style={ textInputStyle }
value={ value }
placeholder={ valuePlaceholder }
placeholderTextColor={ '#87a6bc' }
placeholderTextColor={ placeholderTextColor }
onChangeText={ onChangeValue }
editable={ isValueEditable }
pointerEvents={
Expand Down

0 comments on commit d51768d

Please sign in to comment.