Fixed #7317
parent
4991b82e00
commit
f059452da6
|
@ -580,7 +580,7 @@ export default {
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
isDecimalSign(char) {
|
isDecimalSign(char) {
|
||||||
if (this.locale.includes('fr') && ['.', ','].includes(char) || 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