// services/frontend-leptos/frontend/src/ui/select.rs use leptos::prelude::*; /// Simple select — values and labels are the same /// For options with different value/label, use `SelectOptions` #[component] pub fn Select( #[prop(optional)] value: RwSignal, options: Vec<(&'static str, &'static str)>, // (value, label) #[prop(optional)] placeholder: &'static str, #[prop(optional)] class: &'static str, #[prop(optional)] on_change: Option>, ) -> impl IntoView { view! { } }