Skip to content

Commit f7e3fd3

Browse files
committed
update proptypes according to flow
1 parent e43c4f5 commit f7e3fd3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/views/components/cells/textfield.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export class CellTextField extends React.Component {
3232
_ref: () => {},
3333
returnKeyType: 'default',
3434
secureTextEntry: false,
35+
autoCapitalize: 'none',
3536
}
3637

3738
props: {
@@ -79,7 +80,7 @@ export class CellTextField extends React.Component {
7980
cellAccessoryView={
8081
<TextInput
8182
ref={this.cacheRef}
82-
autoCapitalize={this.props.autoCapitalize || 'none'}
83+
autoCapitalize={this.props.autoCapitalize}
8384
autoCorrect={false}
8485
clearButtonMode="while-editing"
8586
disabled={this.props.disabled}

0 commit comments

Comments
 (0)