Skip to content

Commit

Permalink
Merge pull request #415 from plone/fix#414
Browse files Browse the repository at this point in the history
fix import of widget
  • Loading branch information
petschki authored Nov 7, 2024
2 parents d832c3c + db91975 commit aedf39d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions news/414.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix import of TextLinesFieldWidget, correctness the rendering of EventAttendees TextLinesFieldWidget
[1letter]
2 changes: 1 addition & 1 deletion plone/app/event/dx/behaviors.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
# Import fails for Plone < 6.1
# version pin of plone.app.z3cform is set to plone.app.z3cform==4.3.2
# TextLinesFieldWidget is introduced in plone.app.z3cform==4.4.0
from plone.app.z3cform.widgets.textlines import TextLinesFieldWidget
from plone.app.z3cform.widgets.text import TextLinesFieldWidget
except ImportError:
from z3c.form.browser.textlines import TextLinesFieldWidget

Expand Down

0 comments on commit aedf39d

Please sign in to comment.