캘린더 함수 오류

This commit is contained in:
leedj312
2025-07-21 19:56:57 +09:00
parent 0bb16f9795
commit ddf3a5cfa0
@@ -108,12 +108,11 @@ export function DatePicker({
// captionLayout="dropdown-buttons" // captionLayout="dropdown-buttons"
// fromYear={2000} // fromYear={2000}
// toYear={new Date().getFullYear()} // toYear={new Date().getFullYear()}
toDate={new Date()} // 금일까지만 표시됨 (금일 이후는 안보임)
showOutsideDays={false} // 금월 까지만 표출되도록 showOutsideDays={false} // 금월 까지만 표출되도록
mode="single" mode="single"
selected={field?.value} selected={field?.value}
onSelect={handleSelect} onSelect={handleSelect}
initialFocus disabled={{ after: new Date() }} // 금일까지만 표시됨 (금일 이후는 안보임) 20250721 캘린더가 변경됨!!
locale={ko} locale={ko}
/> />
</PopoverContent> </PopoverContent>