another attempt to fix bug #31
This commit is contained in:
parent
9aa3ba545d
commit
cd74cd9d4e
2 changed files with 26 additions and 18 deletions
|
|
@ -39,9 +39,8 @@ proc render(x: VComponent): VNode =
|
|||
|
||||
kout cstring"rendering ", self.myid
|
||||
inc renderId
|
||||
result = buildHtml(tdiv(style=style, key=renderId)):
|
||||
input(style=inputStyle, value=self.value, onblur=flip, onfocus=flip,
|
||||
key=renderId)
|
||||
result = buildHtml(tdiv(style=style)):
|
||||
input(style=inputStyle, value=self.value, onblur=flip, onfocus=flip)
|
||||
|
||||
var gid = 0
|
||||
proc newTextInput*(style: VStyle = VStyle(); value: cstring = cstring""): TextInput =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue