Fixed #1515 - Negative sign in front of number is not possible for Finnish or Swedish locale
parent
a7c3110a4e
commit
999022caca
|
@ -547,7 +547,7 @@ export default {
|
|||
return this.min === null || this.min < 0;
|
||||
},
|
||||
isMinusSign(char) {
|
||||
if (this._minusSign.test(char)) {
|
||||
if (this._minusSign.test(char) || char === '-') {
|
||||
this._minusSign.lastIndex = 0;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue