diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-03-07 14:22:27 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-03-07 14:22:27 +0100 |
commit | a2be91f3b09a79759f4d9214e5df700a2939fa59 (patch) | |
tree | 329660683fe9a939e9053b2a90a156eee1af3077 /README.md | |
parent | fcbe3b99e9af0183520c9e25ededa9ab8ff7cc34 (diff) | |
download | kvision-a2be91f3b09a79759f4d9214e5df700a2939fa59.tar.gz kvision-a2be91f3b09a79759f4d9214e5df700a2939fa59.tar.bz2 kvision-a2be91f3b09a79759f4d9214e5df700a2939fa59.zip |
Updated README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,8 +135,8 @@ Application package will be saved as build/distributions/showcase.zip. Root("root").add(FormPanel { Model(it.string("username"), it.string("password")) }.apply { - add("username", Text(label = "Username"), required = true) - add("password", Password(label = "Password"), required = true) + add(Model::username, Text(label = "Username"), required = true) + add(Model::password, Password(label = "Password"), required = true) add(Button("OK").onClick { val data: Data = this@apply.getData() println("Username: ${data.username}") |