소스 검색

range validator message

jqh 5 년 전
부모
커밋
d327d920c4
3개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      resources/assets/dcat-admin/form.js
  2. 7 0
      resources/assets/dcat-admin/main.js
  3. 0 0
      resources/assets/dcat-admin/main.min.js

+ 7 - 0
resources/assets/dcat-admin/form.js

@@ -188,6 +188,13 @@
                 $c = $form.find('[name="' + column.replace(/end$/, '') + '"]');
             }
 
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/start\]$/, ']') + '"]');
+            }
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/end\]$/, ']') + '"]');
+            }
+
             return $c;
         }
 

+ 7 - 0
resources/assets/dcat-admin/main.js

@@ -907,6 +907,13 @@ window.require = window.define = window.exports = window.module = undefined;
                 $c = $form.find('[name="' + column.replace(/end$/, '') + '"]');
             }
 
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/start\]$/, ']') + '"]');
+            }
+            if (!$c.length) {
+                $c = $form.find('[name="' + column.replace(/end\]$/, ']') + '"]');
+            }
+
             return $c;
         }
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
resources/assets/dcat-admin/main.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.