VerifyModal component for OTP verification.
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. |
# 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. |
# 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. |
# 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. |
# inner handleOtpSubmit(event)
Handles the submission of the OTP form.
Parameters:
| Name | Type | Description |
|---|---|---|
event |
Event
|
The form submit event. |