Megabit / Blazorise

Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
https://blazorise.com/
Other
3.27k stars 530 forks source link

Could not find 'blazorise.tooltip.updateContent' ('updateContent' was undefined). #3064

Closed nevillekelly closed 2 years ago

nevillekelly commented 2 years ago

Describe the bug We were using Blazorise 0.9.3.6 and have upgraded to the latest using nuget. We have updated the code for the new changes but are still getting: Microsoft.JSInterop.JSException: Could not find 'blazorise.tooltip.updateContent' ('updateContent' was undefined).

To Reproduce Upgrade Blazorise packages in nuget from 0.9.3.x to any latest version.

Expected behavior Package update works without error.

stsrki commented 2 years ago

Have you tried refreshing cache with Ctrl+F5?

Also, a good approach is to always add a version when defining JS static content. eg <script src="_content/Blazorise/blazorise.js?v=0.9.4.4"></script>.

nevillekelly commented 2 years ago

Adding the version query string to the script seems to have fixed the issue.