-
Notifications
You must be signed in to change notification settings - Fork 84
Description
a few days ago i had found and strange behavior in form generator .
my model was using dmVersionable doctrine behavior , after building front widgets i saw version filed in form ! very strange .
i was trace the model form base files and i see this :
//one to many
if($this->needsWidget('version_list')){
$this->setWidget('version_list', new sfWidgetFormDmPaginatedDoctrineChoice(array('multiple' => true, 'model' => 'RegisterDriverVersion', 'expanded' => true)));
$this->setValidator('version_list', new sfValidatorDoctrineChoice(array('multiple' => true, 'model' => 'RegisterDriverVersion', 'required' => false)));
}
so i ask group for help on that .
Nikola Svitlica ( @TheCelavi ) was giving me very very good advice on that and i appreciate that but after changes still there was a problems !
new field appears as :
'version' => new sfWidgetFormInputText()
and dm media appears as:
'image' => new sfWidgetFormDmDoctrineChoice
i think it's better does who have knowledge on dm form generator fix this bug .
thank you so much community .
