Knob replaceAll causes issue with nuxt SSR #844
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
vue2-portable
Milestone
I'm trying to use primevue in NuxtJS with SSR and have it working but the Knob component throws the error
this.valueTemplate.replaceAll is not a function
Since replaceAll is not available in browser javascript this line could be replaced with
this.valueTemplate.replace(/{value}/g, this.value);
and would then work in both nodejs and browser environments.The text was updated successfully, but these errors were encountered: