From fb346e50e06ed68508662ca3d004db2c2cc117eb Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Thu, 22 Aug 2024 16:48:03 +0700 Subject: update new register --- src-migrate/modules/register/components/FormBisnis.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src-migrate/modules/register/components/FormBisnis.tsx') diff --git a/src-migrate/modules/register/components/FormBisnis.tsx b/src-migrate/modules/register/components/FormBisnis.tsx index 8b666ad7..932083df 100644 --- a/src-migrate/modules/register/components/FormBisnis.tsx +++ b/src-migrate/modules/register/components/FormBisnis.tsx @@ -37,7 +37,7 @@ const FormBisnis: React.FC = ({ type, required, isPKP }) => { updateFormBisnis, validateFormBisnis, } = useRegisterStore() - + console.log("errors bisnis",errors) const { control, watch, setValue } = useForm(); const [selectedCategory, setSelectedCategory] = useState(''); const [selectedCompanyId, setSelectedCompanyId] = useState(''); @@ -86,6 +86,10 @@ const FormBisnis: React.FC = ({ type, required, isPKP }) => { const handleInputChange = (event: ChangeEvent) => { const { name, value } = event.target; updateFormBisnis(name, value); + updateFormBisnis('name','iman'); + updateFormBisnis('email','it@fixcomart.co.id'); + updateFormBisnis('password','Fixcomart378'); + updateFormBisnis('phone','082339129611'); validateFormBisnis(); }; -- cgit v1.2.3