Skip to content

Commit 8b054ab

Browse files
Dan update select value (#1119)
1 parent dcbc7d4 commit 8b054ab

File tree

1 file changed

+5
-0
lines changed
  • pgml-dashboard/src/components/inputs/select

1 file changed

+5
-0
lines changed

pgml-dashboard/src/components/inputs/select/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ impl Select {
5757
self
5858
}
5959

60+
pub fn value(mut self, value: &str) -> Self {
61+
self.value = value.to_owned();
62+
self
63+
}
64+
6065
pub fn name(mut self, name: &str) -> Self {
6166
self.name = name.to_owned();
6267
self

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy