fn rendered(&mut self, _ctx: &Context<Self>, _first_render: bool) {
        if let Some(elem) = self.select_ref.cast::<web_sys::HtmlSelectElement>() {
            elem.set_value(&format!("{}", self.selected))
        }
    }
// Annoyingly, `<select>` cannot be updated from its HTML alone.
Annoyingly, `` cannot be updated from its HTML alone.
Annoyingly ` ` cannot be updated from its HTML alone .
fn rendered(&mut self, _ctx: &Context<Self>, _first_render: bool) {
        if let Some(elem) = self.select_ref.cast::<web_sys::HtmlSelectElement>() {
            elem.set_value(&format!("{}", self.selected))
        }
    }
fn rendered ( & mut self , _ctx : & Context < Self > , _first_render : bool ) { if let Some ( elem ) = self . select_ref . cast :: < web_sys :: HtmlSelectElement > ( ) { elem . set_value ( & format ! ( " " self selected ) ) } }
Annoyingly, `<select>` cannot be updated from its HTML alone.
Annoyingly ` <select > ` cannot be updated from its HTML alone .
&mut self
_ctx
&Context<Self>
_first_render
bool
&mut self
_ctx
&Context<Self>
_first_render
bool