From bed145acde22ef5ebf69972cf6592063e553bf85 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Fri, 14 Apr 2023 10:49:27 +0700
Subject: kunjungan sales & pembayaran tempo

---
 src/lib/form/components/KunjunganSales.jsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src/lib/form/components/KunjunganSales.jsx')

diff --git a/src/lib/form/components/KunjunganSales.jsx b/src/lib/form/components/KunjunganSales.jsx
index 14a14d7d..bb7df05b 100644
--- a/src/lib/form/components/KunjunganSales.jsx
+++ b/src/lib/form/components/KunjunganSales.jsx
@@ -92,6 +92,7 @@ const KunjunganSales = () => {
               placeholder='PT. Indoteknik Dotcom Gemilang'
               type='text'
               className='form-input'
+              aria-invalid={errors.company?.message}
             />
             <div className='text-caption-2 text-danger-500 mt-1'>{errors.company?.message}</div>
           </div>
@@ -103,6 +104,7 @@ const KunjunganSales = () => {
               placeholder='021XXXXXXX'
               type='text'
               className='form-input'
+              aria-invalid={errors.phone?.message}
             />
             <div className='text-caption-2 text-danger-500 mt-1'>{errors.phone?.message}</div>
           </div>
@@ -114,6 +116,7 @@ const KunjunganSales = () => {
               placeholder='Jl. Bandengan Utara 85A No. 8-9 RT.3/RW.16, Penjaringan, Kec. Penjaringan, Jakarta Utara'
               type='text'
               className='form-input'
+              aria-invalid={errors.address?.message}
             />
             <div className='text-caption-2 text-danger-500 mt-1'>{errors.address?.message}</div>
           </div>
@@ -145,6 +148,7 @@ const KunjunganSales = () => {
               placeholder='628XXXXXXX'
               type='text'
               className='form-input'
+              aria-invalid={errors.mobile?.message}
             />
             <div className='text-caption-2 text-danger-500 mt-1'>{errors.mobile?.message}</div>
           </div>
@@ -156,6 +160,7 @@ const KunjunganSales = () => {
               placeholder='contoh@email.com'
               type='email'
               className='form-input'
+              aria-invalid={errors.email?.message}
             />
             <div className='text-caption-2 text-danger-500 mt-1'>{errors.email?.message}</div>
           </div>
-- 
cgit v1.2.3

