Skip to content

Commit 9c9987f

Browse files
committed
add numeric data field fill, like integer
1 parent d26d043 commit 9c9987f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/views/index.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,9 @@ class="my-prism-editor"
563563
validations.max = 100
564564
}
565565
}
566+
if (rule.match(/numeric/)) {
567+
validations.isInteger = true
568+
}
566569
})
567570
568571
if (validations.isString) {

0 commit comments

Comments
 (0)