!!!IMPORTANT!!!
The following upgrading instructions are cumulative. That is, if you want to upgrade from version A to version C and there is version B between A and C, you need to following the instructions for both A and B.
- Ensure you use yii2 2.0.13 and higher, otherwise you have to use previous version of the widget
- Ensure that you set
idoption in case you are using js actions, otherwise your old code won't work.
- Change namespace prefix
yii\multipleinput\tounclead\multipleinput\.
- Rename option
limittomax - Change namespace prefix
unclead\widgets\toyii\multipleinput\.
- In scope of #97 was changed a behavior of rendering add button. The button renders now depends on option
addButtonPositionand now this option is not set by default.
- The mechanism of customization configuration by using index placeholder was changed in scope of implementing support of nested
MultipleInputIf you customize configuration by using index placeholder you have to add ID of widget to the placeholder. For example,multiple_indexbecamemultiple_index_question_list
After installing version 1.1.0 you have to rename js events following the next schema:
- Event
initrename toafterInit - Event
addNewRowrename toafterAddRow - Event
removeRowrename toafterDeleteRow