diff --git a/ts-packages/react-components/src/components/mixnodes/IdentityKeyFormField.tsx b/ts-packages/react-components/src/components/mixnodes/IdentityKeyFormField.tsx index 4417bbffe5..692e666fe7 100644 --- a/ts-packages/react-components/src/components/mixnodes/IdentityKeyFormField.tsx +++ b/ts-packages/react-components/src/components/mixnodes/IdentityKeyFormField.tsx @@ -22,6 +22,7 @@ export const IdentityKeyFormField: FCWithChildren<{ size?: 'small' | 'medium'; sx?: SxProps; disabled?: boolean; + autoFocus?: boolean; }> = ({ required, fullWidth, @@ -37,6 +38,7 @@ export const IdentityKeyFormField: FCWithChildren<{ showTickOnValid = true, size, disabled, + autoFocus, }) => { const [value, setValue] = React.useState(initialValue); const [validationError, setValidationError] = React.useState(); @@ -106,6 +108,7 @@ export const IdentityKeyFormField: FCWithChildren<{ InputLabelProps={{ shrink: true }} size={size} disabled={disabled} + autoFocus={autoFocus} /> ); };