From bd73591b9fa99266023a34bc3920b1d62fb76c06 Mon Sep 17 00:00:00 2001 From: Mitchell M Date: Wed, 12 Jun 2024 16:48:40 -0500 Subject: [PATCH] merge --- src/controls/select.rs | 3 +++ 1 file changed, 3 insertions(+) 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)>, }