Module

SignUp/VerifyModal

VerifyModal component for OTP verification.

View Source pages/Authentication/Signup/VerifyModal.jsx, line 7

Methods

# inner handleInput1(e)

Handles input for the first digit and moves focus to the next input field.

Parameters:
Name Type Description
e Event

The input change event.

View Source pages/Authentication/Signup/VerifyModal.jsx, line 74

# inner handleInput2(e)

Handles input for the second digit and moves focus to the next input field.

Parameters:
Name Type Description
e Event

The input change event.

View Source pages/Authentication/Signup/VerifyModal.jsx, line 85

# inner handleInput3(e)

Handles input for the third digit and moves focus to the next input field.

Parameters:
Name Type Description
e Event

The input change event.

View Source pages/Authentication/Signup/VerifyModal.jsx, line 96

# inner handleKeyDown(event, currentIndex)

Handles key down events for input fields to navigate between them.

Parameters:
Name Type Description
event Event

The keydown event.

currentIndex number

Index of the current input field.

View Source pages/Authentication/Signup/VerifyModal.jsx, line 52

# inner handleOtpSubmit(event)

Handles the submission of the OTP form.

Parameters:
Name Type Description
event Event

The form submit event.

View Source pages/Authentication/Signup/VerifyModal.jsx, line 28