diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-20 14:53:52 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-20 14:53:52 +0700 |
| commit | e7082aec2592932c8f27e4d191476b69aac7475b (patch) | |
| tree | 42811b701f89590bb9710b4edc167d80171b7909 /src | |
| parent | 09378e8389ad7dcca805e9dde10e26cf097ad97c (diff) | |
<iman> update
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/auth/components/CompanyProfile.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/auth/components/CompanyProfile.jsx b/src/lib/auth/components/CompanyProfile.jsx index 9e1dd1f9..606f56ea 100644 --- a/src/lib/auth/components/CompanyProfile.jsx +++ b/src/lib/auth/components/CompanyProfile.jsx @@ -176,6 +176,9 @@ const CompanyProfile = () => { className='form-input' placeholder='Cth: Indoteknik Dotcom Gemilang' /> + <div className='text-caption-2 text-danger-500 mt-1'> + {errors.name?.message} + </div> </div> </div> <div> @@ -219,6 +222,9 @@ const CompanyProfile = () => { className='form-input mt-3' maxLength={16} /> + <div className='text-caption-2 text-danger-500 mt-1'> + {errors.npwp?.message} + </div> </div> </div> <button type='submit' className='btn-yellow w-full mt-6'> @@ -237,6 +243,7 @@ const validationSchema = Yup.object().shape({ alamat_wajib_pajak: Yup.string().required('Harus di-isi'), taxName: Yup.string().required('Harus di-isi'), npwp: Yup.string().required('Harus di-isi'), + name: Yup.string().required('Harus di-isi'), industry: Yup.string().required('Harus di-pilih'), companyType: Yup.string().required('Harus di-pilih'), }); |
