fix(project): 하위 작업 입력칸 브라우저 자동완성 끄기, 다른 작업 열 때 입력값 비움

- 하위 작업·댓글·섹션/프로젝트 이름 칸에 autocomplete="off" — 크롬/엣지가
  예전에 쳤던 문구 목록을 띄우지 않게.
- 작업 창을 열 때 하위 작업 추가 칸(제목·담당자·마감일)을 비우고 taskId 를
  끊음 — 쓰다 만 제목이 다른 작업으로 따라가거나, 상세 로딩 중 Enter 로
  이전 작업에 붙던 버그 수정.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 10:06:45 +09:00
parent 634c390f7c
commit 07e957a11f
6 changed files with 23 additions and 12 deletions
@@ -212,7 +212,7 @@
<div class="pj-modal-card">
<h3 id="pj-stage-modal-title">새 섹션</h3>
<input type="hidden" id="pj-stg-id" />
<label>이름<input type="text" id="pj-stg-name" placeholder="섹션 이름" /></label>
<label>이름<input type="text" id="pj-stg-name" placeholder="섹션 이름" autocomplete="off" /></label>
<label>색상
<span class="pj-color-palette" id="pj-stg-colors"></span>
</label>
@@ -365,7 +365,7 @@
</div>
<ul class="pj-subtask-list" id="pj-subtask-list"></ul>
<div class="pj-subtask-form">
<input type="text" id="pj-subtask-input" placeholder="하위 작업 제목…" />
<input type="text" id="pj-subtask-input" placeholder="하위 작업 제목…" autocomplete="off" />
<select id="pj-subtask-add-assignee"><option value="">담당자 없음</option></select>
<input type="date" id="pj-subtask-add-due" />
<button type="button" class="pj-btn pj-btn-primary" id="pj-subtask-add">추가</button>
@@ -415,7 +415,7 @@
바깥이라 끝까지 내려도 마지막 내용은 이 칸 바로 위에서 멈추고 가리지 않는다. -->
<div class="pj-comment-dock" id="pj-comment-dock" hidden>
<div class="pj-comment-form">
<input type="text" id="pj-comment-input" placeholder="댓글을 추가하거나 @로 멤버를 태그하세요" />
<input type="text" id="pj-comment-input" placeholder="댓글을 추가하거나 @로 멤버를 태그하세요" autocomplete="off" />
<button type="button" class="pj-btn pj-btn-primary" id="pj-comment-send">등록</button>
</div>
</div>
@@ -461,7 +461,7 @@
<span class="material-symbols-outlined">attach_file</span>
<input type="file" id="pj-cm-file-input" multiple hidden />
</label>
<input type="text" id="pj-cm-input" placeholder="댓글 입력… (이미지는 붙여넣기 가능)" />
<input type="text" id="pj-cm-input" placeholder="댓글 입력… (이미지는 붙여넣기 가능)" autocomplete="off" />
<button type="button" class="pj-btn pj-btn-primary" id="pj-cm-send">전송</button>
</div>
</div>
@@ -491,5 +491,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260929c" defer></script>
<script src="/static/project.js?v=20260929d" defer></script>
{% endblock %}