File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ class EditableSchedule extends React.PureComponent {
316316const TitleCell = ( { text, onChange = ( ) => { } } ) =>
317317 < CellTextField
318318 hideLabel = { true }
319+ autoCapitalize = "words"
319320 returnKeyType = "done"
320321 placeholder = "Title"
321322 value = { text }
@@ -327,6 +328,7 @@ const TitleCell = ({text, onChange = () => {}}) =>
327328const NotesCell = ( { text, onChange} ) =>
328329 < CellTextField
329330 hideLabel = { true }
331+ autoCapitalize = "sentences"
330332 returnKeyType = "done"
331333 placeholder = "Notes"
332334 value = { text }
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export class CellTextField extends React.Component {
4343 placeholder : string ,
4444 returnKeyType : 'done' | 'next' | 'default' ,
4545 secureTextEntry : boolean ,
46+ autoCapitalize : string ,
4647 value : string ,
4748 labelWidth ?: number ,
4849 }
@@ -78,7 +79,7 @@ export class CellTextField extends React.Component {
7879 cellAccessoryView = {
7980 < TextInput
8081 ref = { this . cacheRef }
81- autoCapitalize = " none"
82+ autoCapitalize = { this . props . autoCapitalize || ' none' }
8283 autoCorrect = { false }
8384 clearButtonMode = "while-editing"
8485 disabled = { this . props . disabled }
You can’t perform that action at this time.
0 commit comments