ㅗㅎㄹ

This commit is contained in:
focp212@naver.com
2025-11-20 17:42:35 +09:00
parent 6f3327d896
commit 109e15ca70
2 changed files with 3 additions and 3 deletions

View File

@@ -235,7 +235,7 @@ export const ListItem = ({
>
<span>{ getTime() }</span>
<span className="separator">|</span>
<span>{ deliveryStatus }</span>
<span>{ deliveryStatus || 'NO_STATUS' }</span>
<span className="separator">|</span>
<span>{ settlementStatus }</span>
<span className="separator">|</span>

View File

@@ -36,9 +36,9 @@ export const MaskedNameInput = ({
}
// 영문자 입력 처리 (composition 중이 아닐 때만)
else if (!isComposing && e.key.length === 1 && !e.ctrlKey && !e.metaKey) {
if (/^[a-zA-Z]$/.test(e.key)) {
if (!/^[a-zA-Z]$/.test(e.key)) {
e.preventDefault();
onChange(value + e.key);
//onChange(value + e.key);
}
// 한글이 아닌 다른 문자는 차단
else if (!/^[ㄱ-ㅎㅏ-ㅣ가-힣]$/.test(e.key)) {