[Zope3-Users] select field with Choice widget and formlib

Dominique Lederer dominique.lederer at inode.at
Wed Feb 7 11:30:42 EST 2007


hi

i render a form with formlib which contains a selectbox:

form_fields = Fields(
        Choice(__name__='selectbox', required=False,
values=["value1","value2","value3"]),
        )

the rendered output always includes a extra option which contains this
message-id "vocabulary-missing-single-value-for-edit"

like:
<option selected="selected" value="">Wert aus Vokabular mit einem Wert
fehlt</option>
<option value="value1">value3</option>
<option value="value2">value3</option>
<option value="value3">value3</option>

how do i get rid of this?

thanks
Dom


More information about the Zope3-users mailing list