diff --git a/lib/templates/bootstrap.js b/lib/templates/bootstrap.js index 2d4c6c58..abc8cb79 100644 --- a/lib/templates/bootstrap.js +++ b/lib/templates/bootstrap.js @@ -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} @@ -205,4 +205,4 @@ module.exports = { select, datepicker, struct -}; \ No newline at end of file +};