diff --git a/src/Field/Traits/HtmlAttributes.php b/src/Field/Traits/HtmlAttributes.php index e0fc3ba7c8ef909c133401d1e39c66b5f4430bbd..980d54c28eb5dfc99e1f2a83a12cedca0355d6c8 100644 --- a/src/Field/Traits/HtmlAttributes.php +++ b/src/Field/Traits/HtmlAttributes.php @@ -33,7 +33,7 @@ trait HtmlAttributes { * * @return array<string[]|string|bool> */ - final public function get_attributes( array $except = [ 'name', 'method', 'action' ] ): array { + final public function get_attributes( array $except = [ 'name', 'class', 'method', 'action' ] ): array { return array_filter( $this->attributes, static function ( $attribute, $key ) use ( $except ) {