Re: Custom Manipulator SelectField "blank" option

2006-07-24 Thread [EMAIL PROTECTED]
One nice thing about doing it the way it currently is that you can specify what yuo want the "blank" to be, e.g. "Please select an option" or "", etc. Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: Custom Manipulator SelectField "blank" option

2006-07-19 Thread Paul Childs
I wonder if this would be worth pursuing as a new feature for the SelectField widget. It makes sense to me that if one sets is_required=False then the widget should add the "blank" option. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Custom Manipulator SelectField "blank" option

2006-07-19 Thread [EMAIL PROTECTED]
As far as I know, that is the way to do it. That's the way I've always done it, but someone might know a better method of doing it. Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Custom Manipulator SelectField "blank" option

2006-07-19 Thread Paul Childs
I have created a custom manipulator for a search form. # from django import forms from choices import AIRCRAFT_CHOICES, phase_choices, OBJECT_CHOICES, STATUS_CHOICES class SelectStatusManipulator(forms.Manipulator): def __init__(self): self.fields = (