diff --git a/classes/Elements/Input.php b/classes/Elements/Input.php index 2896f99..12b2242 100644 --- a/classes/Elements/Input.php +++ b/classes/Elements/Input.php @@ -76,8 +76,6 @@ public function get_template(): array { public function get_attrs(): array { $attrs = parent::get_attrs(); - $attrs['data-supports-jsx'] = null; - $attrs['type'] = $this->get_input_type(); $attrs['value'] = $this->get_value_attr(); diff --git a/classes/Elements/Label.php b/classes/Elements/Label.php index 3f4dbf0..56e5c8e 100644 --- a/classes/Elements/Label.php +++ b/classes/Elements/Label.php @@ -24,7 +24,6 @@ public function get_attrs(): array { $attrs = parent::get_attrs(); unset( $attrs['name'] ); - $attrs['data-supports-jsx'] = null; $parent = $this->get_parent_field(); if ( $parent && ! is_admin() ) { diff --git a/classes/Elements/Legend.php b/classes/Elements/Legend.php index 7d7d8b4..5d3414d 100644 --- a/classes/Elements/Legend.php +++ b/classes/Elements/Legend.php @@ -24,7 +24,6 @@ public function get_attrs(): array { $attrs = parent::get_attrs(); unset( $attrs['name'] ); - $attrs['data-supports-jsx'] = null; return $attrs; }