Download the PHP package zhpefe/select-tree without Composer
On this page you can find all versions of the php package zhpefe/select-tree. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zhpefe/select-tree
More information about zhpefe/select-tree
Files in zhpefe/select-tree
Download zhpefe/select-tree
More information about zhpefe/select-tree
Files in zhpefe/select-tree
Vendor zhpefe
Package select-tree
Short Description laravel-admin select-tree
License MIT
Homepage https://github.com/zhpefe/select-tree
Package select-tree
Short Description laravel-admin select-tree
License MIT
Homepage https://github.com/zhpefe/select-tree
Keywords laravel-adminselect-tree
Please rate this library. Is it a good library?
Informations about the package select-tree
laravel-admin select-tree
select-tree 是针对laravel-admin 数据模型树 的 select 联动选择插件, 可集成至表单中,或用于筛选。
单选效果
多选效果
安装
composer require zhpefe/select-tree
使用
- 需要用ajax方法指定AJAX的地址,select的change触发后会GET此地址,并把当前选项的值通过参数q传递, 返回的数据结构为:
其中 myself 代表自身, siblings表示同级, children 为子类。
- topId() 方法为指定顶级ID,默认为0;
All versions of select-tree with dependencies
PHP Build Version
Package Version
The package zhpefe/select-tree contains the following files
Loading the files please wait ....