Re: [symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-25 Thread Gustavo Adrian
The dropdown must show every available choice, regardless an option is already selected or not (What would you do if you need to update an item and you want to change that value?). If you need to show only the option selected, you could change the table method used by the widget to change the list

[symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-25 Thread Andro Fumero
Hi there, Does anyone tried to limit the result of dropdown to only 1? or atleast just keep the dropdown hidden with selected value? I already set the id of the following dropdown, and i dont need to show other choices anymore. public function executeNew(sfWebRequest $request) { $det

[symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-24 Thread Andro Fumero
Hi there, Does anyone tried to limit the result of dropdown to only 1? or atleast just keep the dropdown hidden with selected value? I already set the id of the following dropdown, and i dont need to show other choices anymore. public function executeNew(sfWebRequest $request) { $deta

[symfony-users] sfWidgetFormDoctrineChoice problem

2010-04-27 Thread Andro Fumero
This is from users BaseForm. 'profileid' => new sfWidgetFormDoctrineChoice(array('model' => $this->getRelatedModelName('Profile'), 'add_empty' => false)), its displaying the Description column of my profile table. how can i display the profile column in my Profile table ? Can any one.? Thank