all states added

This commit was merged in pull request #67.
This commit is contained in:
victorAnumudu
2024-09-03 17:41:53 +01:00
parent 945a5425f0
commit 1c1af302aa
4 changed files with 189 additions and 24 deletions
@@ -1,5 +1,7 @@
import { Button, InputCompOne, Stepper } from '../../shared/index';
import { state } from '../../../utils/states';
import {Formik, Form} from 'formik'
import * as Yup from "yup";
@@ -13,7 +15,7 @@ const initialValues = {
marital_status: "",
state: "",
email:"",
country:""
country:"NG"
};
// To get the validation schema
@@ -171,16 +173,6 @@ const maritalStatus: SelectOption = {
]
}
const state: SelectOption = {
loading: false,
data: [
{ value: "", label: "Please Select" },
{ value: "abia", label: "Abia" },
{ value: "imo", label: "Imo" },
{ value: "lagos", label: "Lagos" },
]
}
const country: SelectOption = {
loading: false,
data: [