Yargh. Never mind. :value, not :selected. 

Cheers,

Jamie

On Apr 24, 2015, at 3:49 PM, Jamie Orchard-Hays <[email protected]> wrote:

> Confused over behavior I'm seeing. I've got a select element. I'm setting the 
> :selected attr on it. I can see that it is correctly assigned in the React 
> plugin in Chrome:
> 
> <ReactDOMSelect selected="kg">
> 
> But the rendered HTML does not have an options selected, so showing the first 
> option ("g") when the page first renders instead of the selected option 
> ("kg"). 
> 
> Any ideas? In Om, worked as expected. What's very confusing is the generated 
> React code looks as expected.
> 
> Cheers,
> 
> Jamie

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to