Skip to content

Commit db92091

Browse files
authored
fix value override (#2427)
1 parent bd2df6a commit db92091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/incubator/TextField/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ const TextField = (props: InternalTextFieldProps) => {
163163
)}
164164
<Input
165165
placeholderTextColor={hidePlaceholder ? 'transparent' : placeholderTextColor}
166+
value={fieldState.value}
166167
{...others}
167168
style={inputStyle}
168169
onFocus={onFocus}
169170
onBlur={onBlur}
170171
onChangeText={onChangeText}
171172
placeholder={placeholder}
172173
hint={hint}
173-
value={fieldState.value}
174174
/>
175175
</View>
176176
)}

0 commit comments

Comments
 (0)