Fix optional element regression (#5110)

* Fix optional element regression

* use vnode unless it is explicitly an option
This commit is contained in:
Evan Almloff authored and GitHub committed 2025-12-25 16:49:53 -05:00
1 parent 417bf7a4c1
commit b050dfec5c
2 files changed
+11 -8

No files matched your search

+2
View File
@@ -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,