wagtail-deprecated / wagtail-react-streamfield

Powerful field for inserting multiple blocks with nesting. (NO LONGER MAINTAINED - See Wagtail 2.13 Release Notes)

Home Page:https://wagtail.github.io/react-streamfield/public/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

__str__ method not used when coupled with wagtailmodelchooser

brianedelman opened this issue · comments

I am using wagtailmodelchooser for a project and am using this package as well. Model chooser fields aren't showing up with a str representation of the object. I removed the react stream fields and am able to see them with the default setup.
Screen Shot 2019-08-08 at 12 56 18 PM
This is how it looks without:
Screen Shot 2019-08-08 at 1 05 15 PM

I can investigate more deeply and potentially create a PR when I get some time.

This is the same issue as #26.
It’s because the JavaScript widget does not correctly implements the change method, an issue I had to work around to make the official choosers work.
There’s nothing wagtail-react-streamfield can do about it.

I’m closing this issue in favor of #26.