jqh %!s(int64=4) %!d(string=hai) anos
pai
achega
4d48398e37
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  1. 1 6
      src/Form/Field.php

+ 1 - 6
src/Form/Field.php

@@ -967,12 +967,7 @@ class Field implements Renderable
      */
     public function getElementClass()
     {
-        return array_values(
-            array_unique(
-                $this->elementClass,
-                $this->getDefaultElementClass()
-            )
-        );
+        return array_values(array_unique(array_merge($this->elementClass, $this->getDefaultElementClass())));
     }
 
     /**