feat(InputNumber): French keyboard decimal support
parent
b6c7b434b1
commit
57edb423f9
|
@ -580,7 +580,7 @@ export default {
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
isDecimalSign(char) {
|
isDecimalSign(char) {
|
||||||
if (this._decimal.test(char)) {
|
if (this.locale.includes('fr') && ['.', ','].includes(char) || this._decimal.test(char)) {
|
||||||
this._decimal.lastIndex = 0;
|
this._decimal.lastIndex = 0;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue