You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yii2-x-editable select2 ,
if i use string in option value, the plugins itself convert that value to time string . like i have select box which has 2 option S=> Simple, G=> Grouped. while i change the option its convert S or G to time string.
its strange issue.in your XEditable class saveAction what are the use of that code.
i have remove that strtotime($value) block ... now its working. it will much appreciated if you let me know what is the use of it .
also in XEditableColumn class you hard coded the primary key public $pk = 'id';.
if primary key is not ID, now plugins throwing error , i think you can handle it by
yii2-x-editable select2 ,
if i use string in option value, the plugins itself convert that value to time string . like i have select box which has 2 option S=> Simple, G=> Grouped. while i change the option its convert S or G to time string.
its strange issue.in your XEditable class saveAction what are the use of that code.
i have remove that strtotime($value) block ... now its working. it will much appreciated if you let me know what is the use of it .
also in XEditableColumn class you hard coded the primary key public $pk = 'id';.
if primary key is not ID, now plugins throwing error , i think you can handle it by
$primaryKey = $model->primaryKey();
$this->pk = $primaryKey[0];
The text was updated successfully, but these errors were encountered: