diff --git a/src/views/voteboard/voteboardWrite.vue b/src/views/voteboard/voteboardWrite.vue index df69183..65fba45 100644 --- a/src/views/voteboard/voteboardWrite.vue +++ b/src/views/voteboard/voteboardWrite.vue @@ -20,16 +20,22 @@ v-model="title" @keyup="ValidHandler('title')" /> - +
+ +
+ + + +
{ + if (dateInput.value) { + dateInput.value.showPicker(); // 달력 자동 열기 (일부 브라우저에서 지원) + dateInput.value.focus(); // 포커스 이동 + } +}; + + const userSet = ({ userList, userTotal }) => { activeUserList.value = userList; userListTotal.value = userTotal; @@ -219,5 +235,17 @@ const goList = () => { .item-input { max-width: 200px; } - +.date-picker-wrapper { + position: relative; + display: inline-block; + width: 100%; +} +.hidden-date-input { + position: absolute; + top: 31.5%; + left: 17%; + width: 100%; + opacity: 0; + pointer-events: none; +}