diff --git a/source/components/conversation/validators.js b/source/components/conversation/validators.js index ba3a10e80..4e9a47cef 100644 --- a/source/components/conversation/validators.js +++ b/source/components/conversation/validators.js @@ -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' }