[apps/cs] chore: 이미지 등록 폼 수정

This commit is contained in:
2025-07-25 15:11:41 +09:00
parent d7233992fe
commit 78eb2d8fcd
2 changed files with 2 additions and 0 deletions
@@ -23,6 +23,7 @@ function CreatePage() {
resolver: zodResolver(imageFormSchema),
defaultValues: {
atflYn: "Y",
useYn: "Y",
},
});
@@ -124,6 +124,7 @@ function ImageForm({ form, imgSn, ...props }: ImageFormProps) {
{...field}
type="number"
min={0}
max={9999}
value={field.value ?? ""}
onChange={(e) =>
field.onChange(parseInt(e.target.value))