[BO] 임산물현황 작업 중
This commit is contained in:
@@ -465,4 +465,8 @@ const formatNumberWithComma = (value) => {
|
||||
return Number(value).toLocaleString();
|
||||
}
|
||||
|
||||
const limitMaxLength = (el) => {
|
||||
const maxLength = parseInt(el.getAttribute('maxlength'), 10);
|
||||
el.value = el.value.replace(/\D/g, '').slice(0, maxLength);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user