From 25950d7e7dffd6ba516d4e26fa3cc4967c27c869 Mon Sep 17 00:00:00 2001 From: Yohan Boogaert Date: Mon, 12 Sep 2022 10:06:56 +0200 Subject: [PATCH] Fix value of the `HtmlSelect` of the `ProgressBar` example (#148) --- yewprint-doc/src/progress_bar/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/yewprint-doc/src/progress_bar/mod.rs b/yewprint-doc/src/progress_bar/mod.rs index a001078..1ac6338 100644 --- a/yewprint-doc/src/progress_bar/mod.rs +++ b/yewprint-doc/src/progress_bar/mod.rs @@ -89,6 +89,7 @@ crate::build_example_prop_component! { (Some(Intent::Warning), "Warning".to_string()), (Some(Intent::Danger), "Danger".to_string()), ]} + value={self.example_props.intent} onchange={self.update_props(ctx, |props, intent| ExampleProps { intent, ..props