We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setting explicit label on any RemoteModelChooserBlock doesn't work, because the value ends up on
label
RemoteModelChooserBlock
wagtailmodelchoosers/wagtailmodelchoosers/blocks.py
Line 20 in 39e32d4
but self.label gets overwritten in parent Block.init
self.label
Also it's mandatory for label to be set on self.meta.label as well for Wagtail block to work properly. Otherwise label value gets overwritten in https://github.com/wagtail/wagtail/blob/7c3418f99e7b2c2da7ad19b2840d73099dadc6a7/wagtail/core/blocks/base.py#L104
self.meta.label
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Setting explicit
label
on anyRemoteModelChooserBlock
doesn't work, because the value ends up onwagtailmodelchoosers/wagtailmodelchoosers/blocks.py
Line 20 in 39e32d4
but
self.label
gets overwritten in parent Block.initAlso it's mandatory for label to be set on
self.meta.label
as well for Wagtail block to work properly. Otherwise label value gets overwritten in https://github.com/wagtail/wagtail/blob/7c3418f99e7b2c2da7ad19b2840d73099dadc6a7/wagtail/core/blocks/base.py#L104The text was updated successfully, but these errors were encountered: