Skip to content

Commit c766340

Browse files
committed
.
1 parent 8e22209 commit c766340

1 file changed

Lines changed: 1 addition & 55 deletions

File tree

src/pages/user/MyProfile.tsx

Lines changed: 1 addition & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ export default function MyProfile() {
471471
const username = userCtx?.user?.userName || 'User';
472472

473473
return (
474-
<Card className={mergeClasses(s.flexColFill, s.layoutPadding, s.gap, s.componentBorder)}>
474+
<Card className={mergeClasses(s.flexColFill, s.layoutPadding, s.gap, s.componentBorder)} style={{ overflow: 'auto' }}>
475475
{/* Title Row */}
476476

477477
<h1 className={mergeClasses(s.brand)}>My Profile</h1>
@@ -715,51 +715,24 @@ export default function MyProfile() {
715715
<Input id="region" type="text" disabled={!isEditing} size="small" {...field} />
716716
)} />
717717
</div>
718-
<div className={mergeClasses(s.formField)}>
719-
<Label htmlFor="regionCode">Code</Label>
720-
<Controller control={control} name="regionCode" render={({ field }) => (
721-
<Input id="regionCode" type="text" disabled={!isEditing} size="small" {...field} />
722-
)} />
723-
</div>
724718
<div className={mergeClasses(s.formField)}>
725719
<Label htmlFor="province">Province</Label>
726720
<Controller control={control} name="province" render={({ field }) => (
727721
<Input id="province" type="text" disabled={!isEditing} size="small" {...field} />
728722
)} />
729723
</div>
730-
<div className={mergeClasses(s.formField)}>
731-
<Label htmlFor="provinceCode">Code</Label>
732-
<Controller control={control} name="provinceCode" render={({ field }) => (
733-
<Input id="provinceCode" type="text" disabled={!isEditing} size="small" {...field} />
734-
)} />
735-
</div>
736-
</div>
737-
738-
<div className={mergeClasses(s.formRow)}>
739724
<div className={mergeClasses(s.formField)}>
740725
<Label htmlFor="cityMunicipality">City/Municipality</Label>
741726
<Controller control={control} name="cityMunicipality" render={({ field }) => (
742727
<Input id="cityMunicipality" type="text" disabled={!isEditing} size="small" {...field} />
743728
)} />
744729
</div>
745-
<div className={mergeClasses(s.formField)}>
746-
<Label htmlFor="cityMunicipalityCode">Code</Label>
747-
<Controller control={control} name="cityMunicipalityCode" render={({ field }) => (
748-
<Input id="cityMunicipalityCode" type="text" disabled={!isEditing} size="small" {...field} />
749-
)} />
750-
</div>
751730
<div className={mergeClasses(s.formField)}>
752731
<Label htmlFor="barangay">Barangay</Label>
753732
<Controller control={control} name="barangay" render={({ field }) => (
754733
<Input id="barangay" type="text" disabled={!isEditing} size="small" {...field} />
755734
)} />
756735
</div>
757-
<div className={mergeClasses(s.formField)}>
758-
<Label htmlFor="barangayCode">Code</Label>
759-
<Controller control={control} name="barangayCode" render={({ field }) => (
760-
<Input id="barangayCode" type="text" disabled={!isEditing} size="small" {...field} />
761-
)} />
762-
</div>
763736
</div>
764737

765738
<div className={mergeClasses(s.formRow)}>
@@ -792,51 +765,24 @@ export default function MyProfile() {
792765
<Input id="secondaryRegion" type="text" disabled={!isEditing} size="small" {...field} />
793766
)} />
794767
</div>
795-
<div className={mergeClasses(s.formField)}>
796-
<Label htmlFor="secondaryRegionCode">Code</Label>
797-
<Controller control={control} name="secondaryRegionCode" render={({ field }) => (
798-
<Input id="secondaryRegionCode" type="text" disabled={!isEditing} size="small" {...field} />
799-
)} />
800-
</div>
801768
<div className={mergeClasses(s.formField)}>
802769
<Label htmlFor="secondaryProvince">Province</Label>
803770
<Controller control={control} name="secondaryProvince" render={({ field }) => (
804771
<Input id="secondaryProvince" type="text" disabled={!isEditing} size="small" {...field} />
805772
)} />
806773
</div>
807-
<div className={mergeClasses(s.formField)}>
808-
<Label htmlFor="secondaryProvinceCode">Code</Label>
809-
<Controller control={control} name="secondaryProvinceCode" render={({ field }) => (
810-
<Input id="secondaryProvinceCode" type="text" disabled={!isEditing} size="small" {...field} />
811-
)} />
812-
</div>
813-
</div>
814-
815-
<div className={mergeClasses(s.formRow)}>
816774
<div className={mergeClasses(s.formField)}>
817775
<Label htmlFor="secondaryCityMunicipality">City/Municipality</Label>
818776
<Controller control={control} name="secondaryCityMunicipality" render={({ field }) => (
819777
<Input id="secondaryCityMunicipality" type="text" disabled={!isEditing} size="small" {...field} />
820778
)} />
821779
</div>
822-
<div className={mergeClasses(s.formField)}>
823-
<Label htmlFor="secondaryCityMunicipalityCode">Code</Label>
824-
<Controller control={control} name="secondaryCityMunicipalityCode" render={({ field }) => (
825-
<Input id="secondaryCityMunicipalityCode" type="text" disabled={!isEditing} size="small" {...field} />
826-
)} />
827-
</div>
828780
<div className={mergeClasses(s.formField)}>
829781
<Label htmlFor="secondaryBarangay">Barangay</Label>
830782
<Controller control={control} name="secondaryBarangay" render={({ field }) => (
831783
<Input id="secondaryBarangay" type="text" disabled={!isEditing} size="small" {...field} />
832784
)} />
833785
</div>
834-
<div className={mergeClasses(s.formField)}>
835-
<Label htmlFor="secondaryBarangayCode">Code</Label>
836-
<Controller control={control} name="secondaryBarangayCode" render={({ field }) => (
837-
<Input id="secondaryBarangayCode" type="text" disabled={!isEditing} size="small" {...field} />
838-
)} />
839-
</div>
840786
</div>
841787

842788
<div className={mergeClasses(s.formRow)}>

0 commit comments

Comments
 (0)