feat(InputNumber): French keyboard decimal support

pull/7157/head
lucas strübi 2025-01-27 23:52:49 +01:00
parent b6c7b434b1
commit 57edb423f9
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ export default {
return false;
},
isDecimalSign(char) {
if (this._decimal.test(char)) {
if (this.locale.includes('fr') && ['.', ','].includes(char) || this._decimal.test(char)) {
this._decimal.lastIndex = 0;
return true;