Yii Framework Forum: Using Multiselect Dropdown In Multimodelform - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Using Multiselect Dropdown In Multimodelform Rate Topic: -----

#1 User is offline   sandeep kaushik 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 22-August 13

Posted 18 November 2013 - 05:41 AM

Hi friends. I am using extension multimodelform. I am cloning element of one of two models take A. In model A I am using a multiselect dropdownlist. It works fine when I select only one element. If i select more than one element it still saves only one of them. I am not sure how to resolve this problem. Give your suggestions.
0

#2 User is offline   JFReyes 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 508
  • Joined: 28-October 09
  • Location:Puerto Rico

Posted 18 November 2013 - 07:07 AM

It is a well known "problem" with multimodelform that it doesn't handle may widgets well because the underlying jqrelcopy javascript doesn't clone any JS associated with a widget. You will have to mess around with callback jsAfterNewId to handle that. I wasn't able to do it so my dropdowns are simple. Good luck.
José
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users