In my MySQL database, I have a table foo that has a field bar_id that is
defined as allowing NULL.
CakePHP 1.3.6 baked some nice views for me, including foo/edit.ctp which
contains "echo $this->Form->input('bar_id');" but the select menu this produces
does not give me the option of not selecting something, which I want to be able
to do.
I found an issue reported years ago about something like this which does not
appear to be resolved:
http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/909
That's about scaffolding, but I seem to be having the same problem with baked
views.
What should I do to allow NULL selections for some of my relationships?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php