chore: 사이트 등록 페이지 폼 기본값 수정

This commit is contained in:
2025-03-20 18:59:06 +09:00
parent b8e0a8a878
commit 580d449f3e
4 changed files with 17 additions and 3 deletions
+14
View File
@@ -22,6 +22,20 @@ function CreatePage() {
const form = useForm<SiteFormData>({
resolver: zodResolver(siteFormSchema),
defaultValues: {
siteId: "",
siteNm: "",
siteExpln: "",
siteKndCd: "",
siteAddr: "",
faxNo: "",
telNo: "",
lwndCn: "",
bscSiteYn: "",
bkmkIcon: "",
useYn: "",
siteSkn: "",
},
});
return (
+1 -1
View File
@@ -17,7 +17,7 @@ function AlertDialog() {
<Dialog open={!!message} onOpenChange={handleOpenChange}>
<DialogContent aria-describedby={undefined}>
<div className="py-10">
<p className="text-center text-[1.4rem]">{message}</p>
<p className="text-center text-[1.4rem] text-foreground">{message}</p>
</div>
<DialogFooter className="!justify-center">
<DialogClose asChild>
+1 -1
View File
@@ -24,7 +24,7 @@ function ConfirmDialog({
<Dialog open={open} onOpenChange={onCancel}>
<DialogContent aria-describedby={undefined}>
<div className="py-10">
<p className="text-center text-[1.4rem]">{message}</p>
<p className="text-center text-[1.4rem] text-foreground">{message}</p>
</div>
<DialogFooter className="!justify-center">
<DialogClose asChild>
@@ -24,7 +24,7 @@
@apply border-b border-b-border;
}
[data-mode="black"] {
[data-theme="black"] {
.table-ui th {
@apply bg-[#5e7b9c] text-[#fff];
}