mirror of
https://github.com/yewprint/yewprint
synced 2024-11-21 19:13:05 +00:00
Fix value of the HtmlSelect
of the ProgressBar
example (#148)
This commit is contained in:
parent
a5851413a6
commit
25950d7e7d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue