File tree Expand file tree Collapse file tree
Subscription/SubscriptionSize/substeps Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ import INPUT_IDS from '@src/types/form/PersonalDetailsForm';
2323import type { PrivatePersonalDetails } from '@src/types/onyx' ;
2424
2525function PhoneNumberPage ( ) {
26- const [ privatePersonalDetails ] = useOnyx ( ONYXKEYS . PRIVATE_PERSONAL_DETAILS ) ;
27- const [ isLoadingApp = true ] = useOnyx ( ONYXKEYS . IS_LOADING_APP ) ;
26+ const [ privatePersonalDetails ] = useOnyx ( ONYXKEYS . PRIVATE_PERSONAL_DETAILS , { canBeMissing : true } ) ;
27+ const [ isLoadingApp = true ] = useOnyx ( ONYXKEYS . IS_LOADING_APP , { canBeMissing : true } ) ;
2828 const styles = useThemeStyles ( ) ;
2929 const { translate} = useLocalize ( ) ;
3030 const { inputCallbackRef} = useAutoFocusInput ( ) ;
@@ -117,6 +117,7 @@ function PhoneNumberPage() {
117117 }
118118 clearPhoneNumberError ( ) ;
119119 } }
120+ inputMode = { CONST . INPUT_MODE . TEL }
120121 />
121122 </ OfflineWithFeedback >
122123 </ FormProvider >
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ function AccountDetailsPage() {
199199 autoCorrect = { false }
200200 onChangeText = { setEmail }
201201 value = { email }
202+ inputMode = { CONST . INPUT_MODE . EMAIL }
202203 />
203204 < InputWrapper
204205 style = { [ styles . mt8 ] }
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ function Size({onNext}: SizeProps) {
7272 role = { CONST . ROLE . PRESENTATION }
7373 defaultValue = { defaultValues [ INPUT_IDS . SUBSCRIPTION_SIZE ] }
7474 shouldSaveDraft
75+ inputMode = { CONST . INPUT_MODE . NUMERIC }
7576 />
7677 < Text style = { [ styles . formHelp , styles . mt2 ] } > { translate ( 'subscription.subscriptionSize.eachMonth' ) } </ Text >
7778 < Text style = { [ styles . formHelp , styles . mt2 ] } > { translate ( 'subscription.subscriptionSize.note' ) } </ Text >
You can’t perform that action at this time.
0 commit comments