If the blank option is not selected, how, then, is "the blank displayed"? Or, do you just mean that, while a blank option is included in the select list, it's not selected?
Also, are you 100% certain that that field in that particular row is NULL? Please post your code. On Wed, Jul 9, 2008 at 2:28 PM, bmgz <[EMAIL PROTECTED]> wrote: > > > > On Jul 9, 8:12 pm, "b logica" <[EMAIL PROTECTED]> wrote: > ... >> However, if you're using the $form->input() method (and having Cake >> figure out that a set of dates is required), you need to include >> 'empty' => true to the options array (note the different key name). > > > This is precisely the case, however even though the blank is displayed > it isn't selected by default, I get todays date selected instead, even > though the database value IS NULL? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---