Skip to content

Instantly share code, notes, and snippets.

@elyphas
Created November 2, 2019 18:55
Show Gist options
  • Save elyphas/9257a96d146352b40a42c145f72f7d29 to your computer and use it in GitHub Desktop.
Save elyphas/9257a96d146352b40a42c145f72f7d29 to your computer and use it in GitHub Desktop.
def render = Observable (
div ( id := "pageForm",
connectOtherComponents,
div( cls := "groupControls",
div(
cmpInput4("Ejercicio", hdlEjercicio.mapHandler[String](_.toInt){ f: Int => if (f <= 0) "" else f.toString},
VDomModifier(width:="35px", marginRight:="30px", textAlign:="center"),
VDomModifier.empty ),
cmpInput4(
"Folio",
hdlFolio.mapHandler[String](_.toInt){ f: Int => if (f <= 0) "" else f.toString},
VDomModifier(width:="45px", textAlign:="center"),
VDomModifier(onChangingIdComparative)
)
)
),
renderGrid,
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment