Fix optional element regression (#5110)
* Fix optional element regression * use vnode unless it is explicitly an option
This commit is contained in:
1 parent
417bf7a4c1
commit
b050dfec5c
2 files changed
+11
-8
No files matched your search
@@ -44,6 +44,8 @@ mod test_default_into {
|
||||
#[props(default = Some("abc".into()))]
|
||||
pub opt_default: Option<String>,
|
||||
|
||||
pub opt_element: Option<Element>,
|
||||
|
||||
// Test no default
|
||||
#[props(into)]
|
||||
pub some_data: bool,
|
||||
|
||||
Reference in new issue
Block a user