Skip to content
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

Choosers don't work when translating a page #649

Closed
tspnn opened this issue Nov 10, 2022 · 0 comments · Fixed by #650
Closed

Choosers don't work when translating a page #649

tspnn opened this issue Nov 10, 2022 · 0 comments · Fixed by #650

Comments

@tspnn
Copy link
Contributor

tspnn commented Nov 10, 2022

When translating a document / an image, after selecting an object in the modal window nothing changes.

Model:

class HomePage(Page):
    image = models.ForeignKey(
        "wagtailimages.Image",
        on_delete=models.PROTECT,
        blank=True,
        null=True,
        related_name="+",
    )
    stream = StreamField(
        [
            ("image", ImageChooserBlock()),
            ("document", DocumentChooserBlock()),
        ],
        blank=True,
        null=True,
        use_json_field=True,
    )

    content_panels = Page.content_panels + [
        FieldPanel("image"),
        FieldPanel("stream"),
    ]
  • python 3.9.5
  • wagtail 4.0.1 (4.1)
  • wagtail_localize 1.3.1 (1.3.2)
@tspnn tspnn changed the title Chooser don't work when translating a page Choosers don't work when translating a page Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant