File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import useLocalize from '@hooks/useLocalize';
4
4
import useThemeStyles from '@hooks/useThemeStyles' ;
5
5
import * as ErrorUtils from '@libs/ErrorUtils' ;
6
6
import * as ValidationUtils from '@libs/ValidationUtils' ;
7
- import CONST from '@src/CONST' ;
8
7
import type { Country } from '@src/CONST' ;
8
+ import CONST from '@src/CONST' ;
9
9
import type ONYXKEYS from '@src/ONYXKEYS' ;
10
10
import INPUT_IDS from '@src/types/form/HomeAddressForm' ;
11
11
import type { Errors } from '@src/types/onyx/OnyxCommon' ;
@@ -14,6 +14,7 @@ import CountrySelector from './CountrySelector';
14
14
import FormProvider from './Form/FormProvider' ;
15
15
import InputWrapper from './Form/InputWrapper' ;
16
16
import type { FormOnyxValues } from './Form/types' ;
17
+ import type { State } from './StateSelector' ;
17
18
import StateSelector from './StateSelector' ;
18
19
import TextInput from './TextInput' ;
19
20
@@ -192,7 +193,7 @@ function AddressForm({
192
193
< InputWrapper
193
194
InputComponent = { StateSelector }
194
195
inputID = { INPUT_IDS . STATE }
195
- defaultValue = { state }
196
+ value = { state as State }
196
197
onValueChange = { onAddressChanged }
197
198
shouldSaveDraft = { shouldSaveDraft }
198
199
/>
You can’t perform that action at this time.
0 commit comments