summaryrefslogtreecommitdiff
path: root/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx')
-rw-r--r--lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx b/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
index b7e67881..abd2b516 100644
--- a/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
+++ b/lib/rfq-last/vendor-response/editor/vendor-response-editor.tsx
@@ -466,6 +466,11 @@ export default function VendorResponseEditor({
<form onSubmit={(e) => {
e.preventDefault() // 기본 submit 동작 방지
handleFormSubmit(false)
+ }}
+ onKeyDown={(e) => {
+ if (e.key === 'Enter') {
+ e.preventDefault() // 엔터 키로 인한 폼 제출 방지
+ }
}}>
<div className="space-y-6">
{/* 헤더 정보 */}