I might be wrong, but I think you need to respond to on change on the select element. That means using on and a custom decoder which picks out the value attribute of your the given option (or selectedIndex).
-magnus On Tuesday, 21 June 2016 07:27:50 UTC+2, Zachary Kessin wrote: > > > I have this code that generates the lines of an option box. When I run it > in firefox it works correctly and the event gets sent. But when I run it in > chrome nothing happens. Obviously this is kind of an issue. how can I fix > this? > > Zach > > > option[ > onClick <| event menuItem.latitude menuItem.longitude > ][text menuItem.name] > > > -- > Zach Kessin > Twitter: @zkessin <https://twitter.com/zkessin> > Skype: zachkessin > ᐧ > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
