tambahan
This commit is contained in:
@@ -252,8 +252,8 @@ export default function AdhanPage() {
|
|||||||
</Group>
|
</Group>
|
||||||
<DatePicker
|
<DatePicker
|
||||||
locale="id"
|
locale="id"
|
||||||
value={date}
|
// value={date}
|
||||||
date={date || undefined}
|
// date={date || undefined}
|
||||||
renderDay={(d) => (
|
renderDay={(d) => (
|
||||||
<Text
|
<Text
|
||||||
c={
|
c={
|
||||||
@@ -267,8 +267,13 @@ export default function AdhanPage() {
|
|||||||
{dayjs(d).format("DD")}
|
{dayjs(d).format("DD")}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
|
minDate={date || undefined}
|
||||||
|
maxDate={dayjs().add(40, "year").toDate()}
|
||||||
defaultDate={date || undefined}
|
defaultDate={date || undefined}
|
||||||
onChange={setDate as any}
|
onChange={setDate as any}
|
||||||
|
onYearSelect={setDate as any}
|
||||||
|
onMonthSelect={setDate as any}
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user