mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-04 06:28:52 +00:00
Update input docs with select example
This commit is contained in:
1 parent
340c3a7375
commit
d596208983
1 file changed
+6
-1
@@ -59,9 +59,14 @@ local input = lib.inputDialog('Police locker', {
|
||||
{ type = "checkbox", label = "Some checkbox" },
|
||||
{ type = "input", label = "Locker PIN" },
|
||||
{ type = "checkbox", label = "Some other checkbox" },
|
||||
{ type = 'select', label = 'Value select', options = {
|
||||
{ value = 'option1', label = 'Option 1' },
|
||||
{ value = 'option2', label = 'Option 2' },
|
||||
{ value = 'option3', label = 'Option 3'},
|
||||
}}
|
||||
})
|
||||
print(json.encode(input, {indent=true}))
|
||||
```
|
||||

|
||||
 
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
Reference in new issue
Block a user