Merge branch 'kangsun' into 'dev'
[BO] limitMaxLength 오류 수정 See merge request korea-research/korea-research!75
This commit is contained in:
@@ -470,7 +470,7 @@ const limitMaxLength = (el) => {
|
|||||||
let $el = $(el);
|
let $el = $(el);
|
||||||
|
|
||||||
if ($el.val().length > maxLength) {
|
if ($el.val().length > maxLength) {
|
||||||
$el.val(el.val().slice(0, $el.attr('maxlength')));
|
$el.val($el.val().slice(0, $el.attr('maxlength')));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($el.attr('inputmode') === 'numeric') {
|
if ($el.attr('inputmode') === 'numeric') {
|
||||||
|
|||||||
Reference in New Issue
Block a user