Open hogan1117 opened 7 years ago
I also had the same problem
I also had the same problem
I also had the same problem
这个是jquery版本引起的bug, jquery-ui里面的autocomplete,在yii2默认jquery版本使用会报错。导致parent_id无法被赋值,所有需要选择的输入框都会有问题。 把jquery版本降下就可以了,或者等待官方升级吧。
jQuery version problem. The latest version yii2 use jQuery3. You need to downgrade jQuery 3 to jQuery 2.
composer.json
"require": {
"bower-asset/jquery": "2.2.*@stable",
}
hi~ I use yii-admin vision 2.7.
When I set the parent of the menu, there are some troubles. When I create a menu, I can not set the parent name. The parent name can pass the validation but will not write to the database. The result in the view "parent name" shows not set . And I can not update the "parent name" neither which also shows not set in result. If I want to set the "patent name", I only can write to the database manually.
Is this a bug? Or maybe I make some mistakes on setting?