summaryrefslogtreecommitdiff
path: root/src/view/property_group.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/property_group.rs')
-rw-r--r--src/view/property_group.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/property_group.rs b/src/view/property_group.rs
index 9c86e80..f4b62a4 100644
--- a/src/view/property_group.rs
+++ b/src/view/property_group.rs
@@ -5,7 +5,7 @@ use yewtil::NeqAssign;
#[derive(Clone, PartialEq, Properties)]
pub struct InputProps<
- O: 'static + VCardPropertyInputObject<M> + Clone,
+ O: 'static + VCardPropertyInputGroupObject<M> + Clone,
M: 'static + PartialEq + Clone,
> {
pub generated: Callback<O>,
@@ -14,7 +14,7 @@ pub struct InputProps<
#[derive(Clone, PartialEq)]
pub struct PropertyGroupInputComponent<
- O: 'static + VCardPropertyInputObject<M>,
+ O: 'static + VCardPropertyInputGroupObject<M>,
M: 'static + PartialEq + Clone,
> {
pub props: InputProps<O, M>,
@@ -22,7 +22,7 @@ pub struct PropertyGroupInputComponent<
pub error: Option<Error>,
}
-impl<O: 'static + VCardPropertyInputObject<M>, M: 'static + PartialEq + Clone> Component
+impl<O: 'static + VCardPropertyInputGroupObject<M>, M: 'static + PartialEq + Clone> Component
for PropertyGroupInputComponent<O, M>
{
type Message = M;
@@ -57,7 +57,7 @@ impl<O: 'static + VCardPropertyInputObject<M>, M: 'static + PartialEq + Clone> C
}
}
-impl<O: VCardPropertyInputObject<M>, M: 'static + PartialEq + Clone>
+impl<O: VCardPropertyInputGroupObject<M>, M: 'static + PartialEq + Clone>
PropertyGroupInputComponent<O, M>
{
/// Returns the error as `Html`