-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get callback example working #23
Comments
Hi @songproducer |
I think it's present.
|
OK. And are you overriding the template for the block? If so, you should have the Try to view the source on your rendered page and see if you actually have |
Yes, I have data-callbacks attribute in the template override. I rendered {{self.callbacks}} and it displays: |
Sorry, I realised I hadn't selected the callback. Now it displays: |
I'm able to choose the callback from the admin, but on the webpage it doesn't display.
I'm using this with the Wagtail News Template so the only difference I think is that I'm calling the chart from within the blocks.StreamBlock class
utils/blocks.py
static_src/javascript/main.js
The text was updated successfully, but these errors were encountered: