From c53cb4c68fbd8b0601b35401a56a4bcdb18662a3 Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Sun, 30 Jul 2017 15:40:27 +0200 Subject: [PATCH] :bug: Fournit un format pour l'effectif de l'entreprise --- source/components/conversation/formValueTypes.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/components/conversation/formValueTypes.js b/source/components/conversation/formValueTypes.js index 6b0e08088..d0be20302 100644 --- a/source/components/conversation/formValueTypes.js +++ b/source/components/conversation/formValueTypes.js @@ -28,9 +28,16 @@ let jours = { validator: int } +let nombre = { + suffix: '', + human: value => value, + validator: int +} + export default { pourcentage, euros, mois, - jours + jours, + nombre }