Skip to content

Commit

Permalink
Register converters to allow Select widgets to be used for RelationCh…
Browse files Browse the repository at this point in the history
…oice and RelationList.
  • Loading branch information
alecpm committed Jan 30, 2021
1 parent a6d5794 commit aac89c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plone/app/z3cform/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,11 @@
<adapter factory=".converters.AjaxSelectWidgetConverter" />
<adapter factory=".converters.QueryStringDataConverter" />
<adapter factory=".converters.RelationChoiceRelatedItemsWidgetConverter" />
<adapter factory=".converters.RelatedItemsDataConverter"
for="z3c.relationfield.interfaces.IRelationList .interfaces.ISelectWidget"/>
<adapter factory=".converters.RelatedItemsDataConverter" />
<adapter factory=".converters.RelationChoiceRelatedItemsWidgetConverter"
for="z3c.relationfield.interfaces.IRelationChoice .interfaces.ISelectWidget"/>
<adapter factory=".converters.LinkWidgetDataConverter" />

<!-- widget registration stuff -->
Expand Down

0 comments on commit aac89c6

Please sign in to comment.