MCPcopy Create free account
hub / github.com/DioxusLabs/dioxus-components / select_value

Method select_value

primitives/src/selectable.rs:169–174  ·  view source on GitHub ↗
(&mut self, value: RcPartialEqValue)

Source from the content-addressed store, hash-verified

167 }
168
169 pub(crate) fn select_value(&mut self, value: RcPartialEqValue) {
170 self.set_value.call(value);
171 if self.selection_mode.closes_on_select() {
172 self.set_open(false);
173 }
174 }
175}
176
177pub(crate) fn use_single_selectable_value<T: Clone + PartialEq + 'static>(

Callers 1

select_focusedMethod · 0.80

Calls 2

closes_on_selectMethod · 0.80
set_openMethod · 0.45

Tested by

no test coverage detected