summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/pengajuan-tempo/component/Pengiriman.jsx8
-rw-r--r--src/lib/pengajuan-tempo/component/informasiPerusahaan.jsx8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/pengajuan-tempo/component/Pengiriman.jsx b/src/lib/pengajuan-tempo/component/Pengiriman.jsx
index 52376f61..fcfa7e1e 100644
--- a/src/lib/pengajuan-tempo/component/Pengiriman.jsx
+++ b/src/lib/pengajuan-tempo/component/Pengiriman.jsx
@@ -1053,7 +1053,7 @@ const Pengiriman = ({ chekValid, buttonSubmitClick, isKonfirmasi }) => {
{...props}
options={zips}
disabled={
- !watchsubDistrict || sameAddressStreet
+ sameAddressStreet
}
placeholder='Zip'
/>
@@ -1066,7 +1066,7 @@ const Pengiriman = ({ chekValid, buttonSubmitClick, isKonfirmasi }) => {
placeholder='Kode Pos'
type='number'
disabled={
- !watchsubDistrict || sameAddressStreet
+ sameAddressStreet
}
value={formPengiriman.zipPengiriman}
className='form-input'
@@ -1323,7 +1323,7 @@ const Pengiriman = ({ chekValid, buttonSubmitClick, isKonfirmasi }) => {
{...props}
options={zipsInvoice}
disabled={
- !watchsubDistrictInvoice || sameAddress
+ sameAddress
}
placeholder='Zip'
/>
@@ -1335,7 +1335,7 @@ const Pengiriman = ({ chekValid, buttonSubmitClick, isKonfirmasi }) => {
placeholder='Kode Pos'
type='number'
disabled={
- !watchsubDistrictInvoice || sameAddress
+ sameAddress
}
value={formPengiriman.zipInvoice}
className='form-input'
diff --git a/src/lib/pengajuan-tempo/component/informasiPerusahaan.jsx b/src/lib/pengajuan-tempo/component/informasiPerusahaan.jsx
index 4e99f9f5..4898a3f8 100644
--- a/src/lib/pengajuan-tempo/component/informasiPerusahaan.jsx
+++ b/src/lib/pengajuan-tempo/component/informasiPerusahaan.jsx
@@ -782,7 +782,7 @@ const InformasiPerusahaan = ({
<HookFormSelect
{...props}
options={zips}
- disabled={!watchsubDistrict}
+ // disabled={!watchsubDistrict}
placeholder='Zip'
/>
) : (
@@ -793,7 +793,7 @@ const InformasiPerusahaan = ({
ref={zipRef}
placeholder='Kode Pos'
type='number'
- disabled={!watchsubDistrict}
+ // disabled={!watchsubDistrict}
value={form.zip}
className='form-input'
onChange={handleInputChange}
@@ -1333,7 +1333,7 @@ const InformasiPerusahaan = ({
<HookFormSelect
{...props}
options={zips}
- disabled={!watchsubDistrict}
+ // disabled={!watchsubDistrict}
placeholder='Zip'
/>
) : (
@@ -1344,7 +1344,7 @@ const InformasiPerusahaan = ({
ref={zipRef}
placeholder='Kode Pos'
type='number'
- disabled={!watchsubDistrict}
+ // disabled={!watchsubDistrict}
value={form.zip}
className='form-input'
onChange={handleInputChange}