👽️ Aplica cambios de API asociados a componentes

This commit is contained in:
Manuel Cillero 2023-06-24 01:03:41 +02:00
parent a39fee9297
commit b5606f043a
16 changed files with 65 additions and 64 deletions

View file

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