These are chat archives for chandu0101/scalajs-react-components

21st
Nov 2015
Roberto Leibman
@rleibman
Nov 21 2015 01:30
mhhh... my dialogs aren't opening anymore, I've tried setting isOpen and openImmediately, neither works. What gives?
Øyvind Raddum Berg
@oyvindberg
Nov 21 2015 13:52
meh, about MuiTextField.value @rleibman , it's not there because it's not mentioned in neither the documentation for material-ui, nor in the PropTypes for the component, which is what i generate the scala wrappers from
easy enough to fix, i can PR that to them and regenerate, but i'm curious how many other cases there are
also I'm very confused about which functions takes a ReactEventI and which take a ReactEventH and so on, i dont know how to guess it yet
these are the main reasons it is not merged and released yet
as for MuiDialog they changed the API now, use open
Øyvind Raddum Berg
@oyvindberg
Nov 21 2015 16:50
just pushed a commit which takes care of missing value @rleibman - added the following https://github.com/callemall/material-ui/pull/2236/files
gonna have to revisit ReactEvent[IH] tomorrow
Roberto Leibman
@rleibman
Nov 21 2015 19:36
Yeah, I'm with you, I had the exact same problems with elemental... I HATE untyped languages, I could not tell what parameters the event took. And I also had the same problem you do with values... basically, those components that translate directly into html tags pass all of the relevant attributes to the tags. TextField passes it's attributes to Input, so value is needed.