components work without 'key' attribute set
This commit is contained in:
parent
2ced690387
commit
e94071b077
2 changed files with 4 additions and 4 deletions
|
|
@ -54,7 +54,7 @@ proc newTextInput*(style: VStyle = VStyle(); key: cstring;
|
|||
result = newComponent(TextInput, render, changed=changed, updated=update)
|
||||
result.style = style
|
||||
result.value = value
|
||||
result.key = key
|
||||
#result.key = key
|
||||
|
||||
when false:
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue