Skip to content

Commit

Permalink
Merge pull request #170 from plone/petschki-orderedselect-required
Browse files Browse the repository at this point in the history
Add `required` to orderedselect widget
  • Loading branch information
petschki authored Jun 5, 2023
2 parents 3979735 + ecff0d0 commit 0c07c38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions news/170.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Add `required` to orderedselect widget.
[petschki - original PR by szakitibi]
1 change: 1 addition & 0 deletions plone/app/z3cform/templates/orderedselect_input.pt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
onchange view/onchange;
multiple view/multiple;
size view/size;
required python:view.required and 'required' or None;
"
>
<option tal:repeat="entry view/selectedItems"
Expand Down

0 comments on commit 0c07c38

Please sign in to comment.