Skip to content

Commit

Permalink
fix: custom input
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoa Phan committed Jan 3, 2023
1 parent b74946b commit 6e9fe80
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Dropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ const DropdownComponent = React.forwardRef<any, DropdownProps>(
style={[styles.input, inputSearchStyle]}
inputStyle={[inputSearchStyle, font()]}
autoCorrect={false}
keyboardType={isIOS ? 'default' : 'visible-password'}
placeholder={searchPlaceholder}
onChangeText={(e) => {
if (onChangeText) {
Expand Down
1 change: 0 additions & 1 deletion src/components/MultiSelect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@ const MultiSelectComponent = React.forwardRef<any, MultiSelectProps>(
style={[styles.input, inputSearchStyle]}
inputStyle={[inputSearchStyle, font()]}
autoCorrect={false}
keyboardType={isIOS ? 'default' : 'visible-password'}
placeholder={searchPlaceholder}
onChangeText={(e) => {
if (onChangeText) {
Expand Down
1 change: 1 addition & 0 deletions src/components/TextInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const TextInputComponent: CTextInput = (props) => {
<View style={styles.textInput}>
{renderLeftIcon?.()}
<TextInput
{...props}
style={StyleSheet.flatten([styles.input, inputStyle, font()])}
value={text}
placeholder={placeholder}
Expand Down

0 comments on commit 6e9fe80

Please sign in to comment.