primevue 4.3.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/confirmpopup/ConfirmPopup.vue +2 -2
- package/confirmpopup/index.mjs +2 -2
- package/confirmpopup/index.mjs.map +1 -1
- package/datepicker/DatePicker.vue +0 -2
- package/datepicker/index.mjs +20 -23
- package/datepicker/index.mjs.map +1 -1
- package/inputnumber/InputNumber.vue +1 -1
- package/inputnumber/index.mjs +2 -1
- package/inputnumber/index.mjs.map +1 -1
- package/package.json +3 -3
- package/umd/primevue.min.js +1 -1
- package/web-types.json +1 -1
|
@@ -580,7 +580,7 @@ export default {
|
|
|
580
580
|
return false;
|
|
581
581
|
},
|
|
582
582
|
isDecimalSign(char) {
|
|
583
|
-
if (this.locale
|
|
583
|
+
if ((this.locale?.includes('fr') && ['.', ','].includes(char)) || this._decimal.test(char)) {
|
|
584
584
|
this._decimal.lastIndex = 0;
|
|
585
585
|
|
|
586
586
|
return true;
|
package/inputnumber/index.mjs
CHANGED
|
@@ -623,7 +623,8 @@ var script = {
|
|
|
623
623
|
return false;
|
|
624
624
|
},
|
|
625
625
|
isDecimalSign: function isDecimalSign(_char3) {
|
|
626
|
-
|
|
626
|
+
var _this$locale;
|
|
627
|
+
if ((_this$locale = this.locale) !== null && _this$locale !== void 0 && _this$locale.includes('fr') && ['.', ','].includes(_char3) || this._decimal.test(_char3)) {
|
|
627
628
|
this._decimal.lastIndex = 0;
|
|
628
629
|
return true;
|
|
629
630
|
}
|