ㄹㄹㄹㄹㄹ

This commit is contained in:
focp212@naver.com
2025-11-20 17:57:20 +09:00
parent 0c78356053
commit c4d114eeb4

View File

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