Fixed #7317
parent
4991b82e00
commit
f059452da6
|
@ -580,7 +580,7 @@ export default {
|
|||
return false;
|
||||
},
|
||||
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;
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue