diff options
author | Robert Jaros <rjaros@finn.pl> | 2017-11-03 15:52:47 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2017-11-03 15:52:47 +0100 |
commit | 398cfa0a80bc10c6580557e9688ba4390b89917b (patch) | |
tree | 1c0f4e9701fec484bfd32e4d730078aa970e45d9 /src/main/kotlin/pl/treksoft/kvision/Showcase.kt | |
parent | 960a82bafa9e9b1a8e07b0eaa20d5eebb72aabc2 (diff) | |
download | kvision-398cfa0a80bc10c6580557e9688ba4390b89917b.tar.gz kvision-398cfa0a80bc10c6580557e9688ba4390b89917b.tar.bz2 kvision-398cfa0a80bc10c6580557e9688ba4390b89917b.zip |
Select form component
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/Showcase.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/Showcase.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt index b4abad0c..a0ea6881 100644 --- a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt +++ b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt @@ -110,6 +110,12 @@ class Showcase : ApplicationBase() { val select5 = Select(listOf("a" to "Pierwsza", "b" to "Druga"), "a", label = "Lista wyboru") root.add(select5) + val select6 = Select(label = "Lista wyboru 2") + select6.add(SelectOption("a", "Opcja 1")) + select6.add(SelectOption("b", "Opcja 2")) + select6.add(SelectOption("c", "Opcja 3")) + root.add(select6) + val container = SimplePanel(setOf("abc", "def")) val h1 = Tag(H1, "To jest <i>test pisania</i> tekstu", false, null, classes = setOf("test", "test2")) container.add(h1) |