Commits

Daniel Holth committed 7140992

fix SelectChoice widget for newer formish

  • Participants
  • Parent commits 5014ce7

Comments (0)

Files changed (1)

File pyramid_uniform/templates/zpt/formish/widgets/SelectChoice/widget.html

 <select id="${field.cssname}" name="${field.name}">
   <option tal:condition="field.widget.none_option"
-          value="${field.widget.get_none_option_value(field)}">${field.widget.none_option[1]}</option>
+          value="${field.widget.none_value}">${field.widget.none_option[1]}</option>
   <option tal:repeat="option field.widget.get_options(field)"
           value="${option[0]}"
           tal:attributes="selected field.widget.selected(option,field) or None"