Correction du validateur d'ints
parent
64bc5de61f
commit
887415fb31
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue