👽️ Aplica cambios de API asociados a componentes

This commit is contained in:
Manuel Cillero 2023-06-24 01:47:40 +02:00
parent 9993b5975b
commit 297d1fc338
14 changed files with 63 additions and 63 deletions

View file

@ -23,11 +23,11 @@ impl ComponentTrait for Hidden {
self.weight
}
fn prepare_component(&self, _: &mut RenderContext) -> Markup {
fn prepare_component(&self, _: &mut RenderContext) -> PrepareMarkup {
let id = self.name().get().map(|name| concat_string!("value-", name));
html! {
PrepareMarkup::With(html! {
input type="hidden" id=[id] name=[self.name().get()] value=[self.value().get()];
}
})
}
fn as_ref_any(&self) -> &dyn AnyComponent {