add autoCapitalize off to MobileInput

This commit is contained in:
Barry Gitarts 2018-08-13 07:31:26 -04:00
parent 392ecc84a2
commit c8c23a802c
1 changed files with 2 additions and 2 deletions

View File

@ -41,10 +41,10 @@ const MobileInput = styled.input`
const MobileSearch = props => ( const MobileSearch = props => (
<div style={{ position: 'relative' }}> <div style={{ position: 'relative' }}>
{props.search && <div style={searchWrapper}> {props.search && <div style={searchWrapper}>
<SearchIcon style={{ color: theme.accent }}/> <SearchIcon style={{ color: theme.accent }} />
</div>} </div>}
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<MobileInput {...props} /> <MobileInput {...props} autoCapitalize="none" />
{!props.value && props.paste && <Button style={{ color: theme.accent }} onClick={props.paste}>Paste</Button>} {!props.value && props.paste && <Button style={{ color: theme.accent }} onClick={props.paste}>Paste</Button>}
</div> </div>
</div> </div>