Correction du validateur d'ints

pull/108/head
mama 2017-10-19 09:41:39 +02:00
parent 64bc5de61f
commit 887415fb31
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@ export let number = {
}
export let int = {
test: v => /^[0-9]+/.test(v),
test: v => /^[0-9]+$/.test(v),
error: 'Vous devez entrer un entier, par ex. 16'
}