diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-22 16:48:03 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-22 16:48:03 +0700 |
| commit | fb346e50e06ed68508662ca3d004db2c2cc117eb (patch) | |
| tree | 2e6b7d23847583bbace134a9c20c8000a91f42ee /src-migrate/modules/register/components/FormBisnis.tsx | |
| parent | 6623dba2f6cd4a4ca7b25f7086991afef092cd26 (diff) | |
<iman> update new register
Diffstat (limited to 'src-migrate/modules/register/components/FormBisnis.tsx')
| -rw-r--r-- | src-migrate/modules/register/components/FormBisnis.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
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<FormProps> = ({ type, required, isPKP }) => { updateFormBisnis, validateFormBisnis, } = useRegisterStore() - + console.log("errors bisnis",errors) const { control, watch, setValue } = useForm(); const [selectedCategory, setSelectedCategory] = useState<string>(''); const [selectedCompanyId, setSelectedCompanyId] = useState<string>(''); @@ -86,6 +86,10 @@ const FormBisnis: React.FC<FormProps> = ({ type, required, isPKP }) => { const handleInputChange = (event: ChangeEvent<HTMLInputElement>) => { const { name, value } = event.target; updateFormBisnis(name, value); + updateFormBisnis('name','iman'); + updateFormBisnis('email','it@fixcomart.co.id'); + updateFormBisnis('password','Fixcomart378'); + updateFormBisnis('phone','082339129611'); validateFormBisnis(); }; |
