From 3ff088d674ff76812e631c5c3476a73baf8cc282 Mon Sep 17 00:00:00 2001 From: Oshawk Date: Sat, 18 May 2024 09:55:04 +0100 Subject: [PATCH] Swap day and year --- src/date_component.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/date_component.rs b/src/date_component.rs index 42a0bc6..55ed04a 100644 --- a/src/date_component.rs +++ b/src/date_component.rs @@ -90,9 +90,6 @@ impl Component for DateComponent { fn view(&self, ctx: &Context) -> Html { html! {
-
- year.to_string(), None => "".to_string() } } oninput={ ctx.link().callback(|event: InputEvent| Self::Message::YearValue(event.target_unchecked_into::().value())) } /> -
} }