Replies: 1 comment 1 reply
-
There was a discussion somewhere where blacksmithgu talked about why this happened. Can you try looking around? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to stop a dataviewjs block from refreshing?
I have a button that I am using to insert a template that has a dataviewjs block in it
The template is a small dataviewjs block that calls a customJS script which builds some HTML and then returns it to be put into a span
It all works just fine... until I use it via the button. It appears that once there is an initial instance of the dataviewjs block that it will refresh, then get replaced by the button which inserts the new dataviewjs block which then calls my code.
So my code gets called twice every time that I click on the button after the initial click.
Is there a way to have a block only ever refresh once or do I need to find a new way to insert that dataviewjs block?
Beta Was this translation helpful? Give feedback.
All reactions