administrator icon indicating copy to clipboard operation
administrator copied to clipboard

a fork from Frozennode/Administrator

Results 14 administrator issues
Sort by recently updated
recently updated
newest added

类似省市区的数据联动是否支持,查了一遍文档没看到怎么写

创建关联视图时getOtherKey(),getPlainForeignKey报错 ··· Call to undefined method Illuminate\Database\Query\Builder::getOtherKey() Call to undefined method Illuminate\Database\Query\Builder::getPlainForeignKey() ···

https://github.com/summerblue/administrator/blob/master/docs/field-type-enum.md 里面写了 You can either provide a simple array of strings, or if the key is a string, the key will be saved to the database while the value will...

修改了Enum.php中的build函数 修改 'id' => is_numeric($val) ? $text : $val, 修改成 'id' => is_string($val) ? $text : $val, 原来的判断写法 与文档administrator/docs/field-type-enum.md有冲突 文档中写 if the key is a string, the key will be...

包版本:1.2.5 laravel版本:5.8.* ![image](https://user-images.githubusercontent.com/16811858/59752827-80d9bd00-92b5-11e9-8e74-3a389736f284.png) config 目录下如果没有 administrator.php,就会报错,加上这个文件的话,安装就不会有问题。 看报错信息应该是 AdministratorServiceProvider 写的有问题。

字体太大了,点击不了保存的bug

bug fixed#php7.2 the function sizeof() did not work ,replace it with empty() . refer to : https://github.com/webpatser/laravel-countries/pull/84

有些需求是,字段自动生成不让用户填写的但是现在,在配置里面做不到这个,比如订单号是自动生成,然后要保存到数据库,这个配置的保存方法就不能实现,我想有没有一个重写默认他自带保存方法,这样就能实现很多特殊的需求。