Skip to content

Commit 938f1bc

Browse files
committed
Fixes defaults.
1 parent 2dfc83f commit 938f1bc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Element.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ public function __construct($value = null) {
2727
$this->required_props = array_unique(
2828
array_merge($parent_instance->required_props, $this->required_props)
2929
);
30-
$this->default_props = array_unique(
31-
array_merge($parent_instance->default_props, $this->default_props)
32-
);
30+
$this->default_props = array_merge($parent_instance->default_props, $this->default_props);
3331
}
3432
$this->known_props = array_keys($this->props);
3533

0 commit comments

Comments
 (0)