Ver Fonte

range validator message

jqh há 5 anos atrás
pai
commit
d327d920c4

+ 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;
         }
 

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
resources/assets/dcat-admin/main.min.js


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff