#11813: Formset with select widget and extra fields won't validate -------------------+-------------------------------------------------------- Reporter: Afief | Owner: nobody Status: new | Milestone: Component: Forms | Version: 1.1 Keywords: | Stage: Unreviewed Has_patch: 0 | -------------------+-------------------------------------------------------- Since a select field passes the first choice as it's default value(instead of None or '') a django formset with extra fields will interpret that form as partially filled and raise an error on any other required fields that aren't filled.
The workaround I'm currently using is to set initial=(first choice) for that field -- Ticket URL: <http://code.djangoproject.com/ticket/11813> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
