jqh 5 年之前
父節點
當前提交
e193763aa6
共有 3 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      resources/assets/dcat-admin/main.css
  2. 0 0
      resources/assets/dcat-admin/main.min.css
  3. 1 1
      src/Form/Field/Select.php

+ 1 - 1
resources/assets/dcat-admin/main.css

@@ -1890,7 +1890,7 @@ pre.dump {
     opacity: 0.7;
 }
 .checkbox-grid{
-    margin-top:2px;margin-bottom:0
+    margin-top:0;margin-bottom:0;top:1px
 }
 .checkbox-grid label{min-height:15px}
 .checkbox.checkbox-circle label::before {

File diff suppressed because it is too large
+ 0 - 0
resources/assets/dcat-admin/main.min.css


+ 1 - 1
src/Form/Field/Select.php

@@ -112,7 +112,7 @@ $(document).on('change', "{$this->getElementClassSelector()}", function () {
                 d.text = d.$textField;
                 return d;
             })
-        }).trigger('change');
+        }).val(target.attr('data-value')).trigger('change');
     });
 });
 JS;

Some files were not shown because too many files changed in this diff