diff --git a/src/controls/select.rs b/src/controls/select.rs index 83a775e..e86d268 100644 --- a/src/controls/select.rs +++ b/src/controls/select.rs @@ -6,6 +6,9 @@ use leptos::{Signal, View}; pub struct SelectData { pub(crate) name: String, pub(crate) label: Option, + /// The options for the select. + /// + /// The first value is the string to display, the second is the value. pub(crate) options: Vec<(String, String)>, }