Module

ForgetPassword/OtpForm

OtpForm component for handling OTP verification.

View Source pages/ForgetPassword/otp/OtpForm.jsx, line 5

Methods

# inner handleInput1(e)

Handle input for the first OTP input field.

Parameters:
Name Type Description
e Event

The input change event.

View Source pages/ForgetPassword/otp/OtpForm.jsx, line 69

# inner handleInput2(e)

Handle input for the second OTP input field.

Parameters:
Name Type Description
e Event

The input change event.

View Source pages/ForgetPassword/otp/OtpForm.jsx, line 80

# inner handleInput3(e)

Handle input for the third OTP input field.

Parameters:
Name Type Description
e Event

The input change event.

View Source pages/ForgetPassword/otp/OtpForm.jsx, line 91

# inner handleKeyDown(event, currentIndex)

Handle keyboard navigation between OTP input fields.

Parameters:
Name Type Description
event Event

The keyboard event.

currentIndex number

The index of the current input field.

View Source pages/ForgetPassword/otp/OtpForm.jsx, line 47

# inner onSubmit(event)

Callback function when the OTP form is submitted.

Parameters:
Name Type Description
event Event

The form submit event.

View Source pages/ForgetPassword/otp/OtpForm.jsx, line 25