Skip to content
This repository was archived by the owner on Jan 6, 2022. It is now read-only.
This repository was archived by the owner on Jan 6, 2022. It is now read-only.

wagtail-react-streamfield breaks PageChooserPanel / PageChooserBlock #71

@ZackPlauche

Description

@ZackPlauche

A few of us in the Wagtail Slack Group are having the same issue where the PageChooserPanel / Block does nothing upon click in admin.

This is a major issue because THIS ALSO HAPPENS WHEN CHOOSING THE ROOT PAGE FOR YOUR WEBSITE, and of course it doesn't work on any other pages inside the admin.

The PageChooserPanel works as soon as 'wagtail_react_streamfield' is removed from INSTALLED_APPS and in Chrome you do a "clear cache and hard reload".

When wagtail-react-streamfield is installed, after a while there's a JavaScript error that occurs every time you try to click "CHOOSE A PAGE".

2021-02-18_12-19-20

Temporary fix:

Use URLField and FieldPanel instead of ForeignKey('wagtailcore.Page', ...) and PageChooserPanel until this is resolved.

And if you need to set a Root Page, remove wagtail_react_streamfield and "clear cache and hard reload" by opening your dev tools in your browser (at least in Chrome), right clicking on the refresh icon, and choosing that option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions