File tree Expand file tree Collapse file tree
packages/app-rfi/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ const variants = {
105105 >
106106 < h4 > Step 2 of 2</ h4 >
107107 < h2 > About me</ h2 >
108- < EmailAddress gaData = { gaData2Of2 } />
108+ < EmailAddress autoFocus gaData = { gaData2Of2 } />
109109 < FirstName gaData = { gaData2Of2 } />
110110 < LastName gaData = { gaData2Of2 } />
111111 < Phone gaData = { gaData2Of2 } />
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ import { PII_VALUE } from "../../../core/utils/constants";
77/**
88 * @param {{ gaData: import("../../../../../../shared/services/googleAnalytics").GAEventObject} } props
99 */
10- export const EmailAddress = ( { gaData } ) => {
10+ // eslint-disable-next-line react/prop-types
11+ export const EmailAddress = ( { gaData, autoFocus } ) => {
1112 const label = "Email Address" ;
1213 const name = "EmailAddress" ;
1314
@@ -18,6 +19,7 @@ export const EmailAddress = ({ gaData }) => {
1819 name = { name }
1920 requiredIcon
2021 required
22+ autoFocus = { autoFocus }
2123 onBlur = { e =>
2224 trackGAEvent ( {
2325 ...gaData ,
You can’t perform that action at this time.
0 commit comments