started input validation on forms
This commit was merged in pull request #40.
This commit is contained in:
@@ -32,6 +32,7 @@ const BVN = ({handleNextStep}:Props) => {
|
||||
|
||||
const handleSubmit = (values:any) => {
|
||||
console.log('values', values)
|
||||
handleNextStep()
|
||||
};
|
||||
|
||||
return (
|
||||
@@ -70,7 +71,6 @@ const BVN = ({handleNextStep}:Props) => {
|
||||
<button
|
||||
type='submit'
|
||||
className="w-full h-[3.625rem] rounded bg-[#FBB700] rounded-2 px-4 text-[18px] text-[#282828] font-semibold disabled:text-[#282828] disabled:text-opacity-50"
|
||||
onClick={handleNextStep}
|
||||
>
|
||||
Enter
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user