datepicker 옵션 변경
This commit is contained in:
@@ -109,6 +109,7 @@ const DetailGrid = ({ items, formData, onChange, disabled = false, columns = 4 }
|
|||||||
return (
|
return (
|
||||||
<DatePicker
|
<DatePicker
|
||||||
{...commonProps}
|
{...commonProps}
|
||||||
|
allowClear={false}
|
||||||
showTime={showTime || false}
|
showTime={showTime || false}
|
||||||
value={currentValue ? dayjs(currentValue) : null}
|
value={currentValue ? dayjs(currentValue) : null}
|
||||||
format={format || 'YYYY-MM-DD'}
|
format={format || 'YYYY-MM-DD'}
|
||||||
|
|||||||
Reference in New Issue
Block a user