Download the PHP package tourze/easy-admin-tree-select-field-bundle without Composer
On this page you can find all versions of the php package tourze/easy-admin-tree-select-field-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tourze/easy-admin-tree-select-field-bundle
More information about tourze/easy-admin-tree-select-field-bundle
Files in tourze/easy-admin-tree-select-field-bundle
Download tourze/easy-admin-tree-select-field-bundle
More information about tourze/easy-admin-tree-select-field-bundle
Files in tourze/easy-admin-tree-select-field-bundle
Vendor tourze
Package easy-admin-tree-select-field-bundle
Short Description Symfony bundle providing a tree select field for EasyAdmin with multiple data source support
License MIT
Package easy-admin-tree-select-field-bundle
Short Description Symfony bundle providing a tree select field for EasyAdmin with multiple data source support
License MIT
Please rate this library. Is it a good library?
Informations about the package easy-admin-tree-select-field-bundle
EasyAdmin Tree Select Field Bundle
中文
一个为 EasyAdmin 4 提供树形选择器字段的 Symfony Bundle,支持多种数据源。
特性
- 🌳 树形结构显示 - 直观的层级展示
- 🔍 实时搜索 - 快速查找节点
- ✅ 多选/单选 - 灵活的选择模式
- 📱 响应式设计 - 适配移动端
- 🎨 主题支持 - 支持亮色/暗色模式
- 🔌 多数据源 - 支持数组、Entity、回调函数等多种数据源
- ⚡ 懒加载 - 支持大数据集的按需加载
- 🎯 易于集成 - 与 EasyAdmin 无缝集成
安装
配置
在 config/bundles.php 中注册 Bundle:
安装资源文件:
使用方法
基本用法
在 EasyAdmin CRUD 控制器中使用:
使用数组数据源
使用 Entity 数据源
使用自定义数据提供者
创建自定义数据提供者:
使用自定义数据提供者:
配置选项
TreeSelectField 提供了丰富的配置选项:
节点数据格式
节点数据支持以下格式:
事件监听
在 JavaScript 中监听选择变化事件:
样式自定义
可以通过 CSS 变量自定义样式:
高级用法
异步加载数据
节点权限控制
故障排除
资源文件未加载
确保已执行:
树形结构不显示
检查数据格式是否正确,特别是 parent_id 字段。
搜索功能不工作
确保设置了 ->setSearchable(true)。
贡献
欢迎提交 Issue 和 Pull Request!
许可证
MIT License
All versions of easy-admin-tree-select-field-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
doctrine/collections Version ^2.3
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
easycorp/easyadmin-bundle Version ^4
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/form Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/options-resolver Version ^7.3
symfony/property-access Version ^7.3
symfony/twig-bundle Version ^7.3
symfony/validator Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/symfony-dependency-service-loader Version 1.*
doctrine/collections Version ^2.3
doctrine/dbal Version ^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
easycorp/easyadmin-bundle Version ^4
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/form Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/options-resolver Version ^7.3
symfony/property-access Version ^7.3
symfony/twig-bundle Version ^7.3
symfony/validator Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/symfony-dependency-service-loader Version 1.*
The package tourze/easy-admin-tree-select-field-bundle contains the following files
Loading the files please wait ...