ㄹㄹㄹㄹㄹ
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user