건물등록 시도 변경시 시군구 전체 세팅
iipbs_wr / build (push) Waiting to run

This commit is contained in:
YangJinSoo94
2025-06-24 13:31:23 +09:00
parent 58fcd99941
commit b8dc4ed3b3
@@ -45,7 +45,7 @@ export function BdstReg<T extends MoType>({ moType }: BdstRegProps<T>) {
const cityValue = String(val); // Ensure val is treated as a string
const data = getCity(cityValue, code.sggCd);
setSelectSgg(data);
getSgg(data[0]?.val || "");
setObjSearch({ city: cityValue, sgg: '' });
};
@@ -111,6 +111,7 @@ export function BdstReg<T extends MoType>({ moType }: BdstRegProps<T>) {
selectClass={selectClass}
selectArray={selectSgg || []}
onSelectValue={getSgg}
value={objSearch.sgg || ""}
>
{" "}
</SelectBox>