👽️ Aplica cambio de API para Context

This commit is contained in:
Manuel Cillero 2023-06-28 23:47:56 +02:00
parent a1d51d6d0f
commit 9552ae0af5
17 changed files with 96 additions and 100 deletions

View file

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