diff --git a/components/lib/inputnumber/InputNumber.vue b/components/lib/inputnumber/InputNumber.vue index 56a4a47c4..07e75e157 100755 --- a/components/lib/inputnumber/InputNumber.vue +++ b/components/lib/inputnumber/InputNumber.vue @@ -540,6 +540,11 @@ export default { let isDecimalSign = this.isDecimalSign(char); const isMinusSign = this.isMinusSign(char); + if (this.locale === 'fr-FR' && (event.code === 'Comma' || event.code === 'NumpadDecimal') && !isDecimalSign) { + isDecimalSign = true + char = decimalSign + } + if (event.code !== 'Enter') { event.preventDefault(); }