china-distpicker icon indicating copy to clipboard operation
china-distpicker copied to clipboard

中国省/市/区(县)三级级联选择器

Results 17 china-distpicker issues
Sort by recently updated
recently updated
newest added

` $form->hasMany('template_rules','收费标准',function (Form\NestedForm $form) { //My codes. }); ` 如上所示,当我进入新增/编辑表单中,点击"新增",第一个能够正常选择: ![image](https://user-images.githubusercontent.com/61786881/170300545-5f17c49a-3ea3-4042-bb4e-daadb1fcbf68.png) 但是新增第二个失败,无法选择这些地市: ![image](https://user-images.githubusercontent.com/61786881/170301079-fe103293-0fa6-468c-909f-afa22b86cf20.png) **使用的是laravel-admin1.8.17,模型关联正常,关联数据正常显示** ` //model A //... public function template_rules(){ return $this->hasMany(PostageTemplateRoule::class,'template_id'); } //... `

将 data-value-type 属性默认值设置,从 render 函数提升至构造函数内。

![image](https://user-images.githubusercontent.com/23160330/115352383-df419080-a1e9-11eb-91f2-eaedeb2a3e0c.png) 安装的时候报错了

create和edit里面都可以,但grid和show里面如何显示省市区数据? 另外,filter里面能设置默认值么?

![2020-11-19_145259](https://user-images.githubusercontent.com/45062686/99631820-34307d80-2a77-11eb-94b0-83e31d118213.png) ![2020-11-19_145433](https://user-images.githubusercontent.com/45062686/99631830-3b578b80-2a77-11eb-964e-0b8d654201ae.png) 提示: 资源不存在

发现这个扩展没有广东 中山的县区 我替换了扩展的静态文件 原博客已失效: https://blog.lblog.club/2020/03/10/china-distpicker/#laravel-admin-china-distpicker 新链接:http://bughello.cn/2020/03/10/china-distpicker/#laravel-admin-china-distpicker 数据我已给出,希望能更新 ,我以后可以不用手动替换...

在 $form 里,因为是一对一的关系,所以我写成: `$form->distpicker( [ 'pdetails.country' => '省' , 'pdetails.province' => '市' , 'pdetails.city' => '区' ] )->autoselect( 2 );` 如果我这样写,就获取不到值。这三个字段是 一对一的副表 pdetails 表里的字段,我如何使用? 但是我写成: `$form->distpicker( [ 'country' => '省'...

数据库: PostgreSQL 9.6.8 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18), 64-bit `char` 会输出空字符串, 就像如下 ```javascript $("").distpicker({ province: '450000 ', // 出现空字符 city: '450100', district: '450107' });...

如题。我想更新数据。默认好像是走的插件里JS写好的数据。而没走数据库。是直接改JS里的数据就可以了么?求大佬指导。