Skip to content

Commit

Permalink
fix(react-native-material-textfield):设置文本后无法删除
Browse files Browse the repository at this point in the history
  • Loading branch information
xiong committed Aug 15, 2024
1 parent 28f2013 commit 300e171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/field/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export default class TextField extends PureComponent {

let value = this.isDefaultVisible()?
defaultValue:
this.props.value;
text;

if (null == value) {
return '';
Expand Down

0 comments on commit 300e171

Please sign in to comment.