diff options
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(); }; |
