We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents daf0025 + d2cd0e2 commit 89f0630Copy full SHA for 89f0630
src/components/ExpensiTextInput/BaseExpensiTextInput.js
@@ -19,7 +19,7 @@ class BaseExpensiTextInput extends Component {
19
constructor(props) {
20
super(props);
21
22
- const hasValue = props.value.length > 0;
+ const hasValue = props.value && props.value.length > 0;
23
24
this.state = {
25
isFocused: false,
0 commit comments