This commit is contained in:
Mitchell Marino 2024-06-12 16:48:40 -05:00
parent a5fd4f85ee
commit bd73591b9f

View File

@ -6,6 +6,9 @@ use leptos::{Signal, View};
pub struct SelectData { pub struct SelectData {
pub(crate) name: String, pub(crate) name: String,
pub(crate) label: Option<String>, pub(crate) label: Option<String>,
/// The options for the select.
///
/// The first value is the string to display, the second is the value.
pub(crate) options: Vec<(String, String)>, pub(crate) options: Vec<(String, String)>,
} }