You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Older browsers such as Chrome 50 are erroring with: TypeError: formatter.formatToParts is not a function
Which relates to VueI18n.prototype._ntp
var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);
var ret = formatter && formatter.formatToParts(value);
Is there anything specific I can do to pollyfill this? I've tried adding:
transpileDependencies: ['vue-i18n'] with no joy
The text was updated successfully, but these errors were encountered:
I've just done some more digging, Intl: NumberFormat: formatToParts has no pollyfills. So this library won't work with IE11 or iOS 11 or iOS 12 if you want to use i18n-n
Oops...
IE11 is one of supported browser of vue-i18n (ref. #843, #844), so this is definitely bug. formatter.formatToParts should be replaced with polyfill.
vue & vue-i18n version
"vue-i18n": "^8.18.1",
"vue": "^2.6.11",
Older browsers such as Chrome 50 are erroring with:
TypeError: formatter.formatToParts is not a function
Which relates to
VueI18n.prototype._ntp
Is there anything specific I can do to pollyfill this? I've tried adding:
transpileDependencies: ['vue-i18n']
with no joyThe text was updated successfully, but these errors were encountered: