|
|
@ -50,12 +50,12 @@ const localState = $computed({ |
|
|
|
:bordered="false" |
|
|
|
:bordered="false" |
|
|
|
class="!w-full px-1" |
|
|
|
class="!w-full px-1" |
|
|
|
format="YYYY-MM-DD HH:mm" |
|
|
|
format="YYYY-MM-DD HH:mm" |
|
|
|
:placeholder="isDateInvalid ? 'Invalid date' : !readOnlyMode ? 'Select date' : ''" |
|
|
|
:placeholder="isDateInvalid ? 'Invalid date' : !readOnlyMode ? 'Select date and time' : ''" |
|
|
|
:allow-clear="!readOnlyMode" |
|
|
|
:allow-clear="!readOnlyMode" |
|
|
|
:input-read-only="true" |
|
|
|
:input-read-only="true" |
|
|
|
:open="readOnlyMode ? false : undefined" |
|
|
|
:open="readOnlyMode ? false : undefined" |
|
|
|
> |
|
|
|
> |
|
|
|
<template v-if="readOnlyMode" #suffixIcon></template> |
|
|
|
<template #suffixIcon></template> |
|
|
|
</a-date-picker> |
|
|
|
</a-date-picker> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|