Skip to content

Commit

Permalink
fix multiline issue when default value is not set
Browse files Browse the repository at this point in the history
multiline issue is fixed by facebook/react-native#991 . Fix the bit issue after using the latest react-native.
  • Loading branch information
yanxi123-com committed May 1, 2015
1 parent 3d3cd81 commit 89d554a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/templates/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function textbox(locals) {
onChangeText={(value) => locals.onChange(value)}
placeholder={locals.placeholder}
style={textboxStyle}
value={locals.value}
value={locals.value || ''}
/>
{help}
{error}
Expand Down Expand Up @@ -205,4 +205,4 @@ module.exports = {
select,
datepicker,
struct
};
};

0 comments on commit 89d554a

Please sign in to comment.