Fix table constructor in editor.filterBox example (close #1344) (#1360)

Also added description field from FilterOption, others didn't seem relevant
This commit is contained in:
Marek S. Łukasiewicz
2025-04-30 11:01:00 +02:00
committed by GitHub
parent 3cf67f7cce
commit b9488b45c8
+2 -2
View File
@@ -264,8 +264,8 @@ Shows a filter box UI.
Example:
```lua
local result = editor.filterBox("Select:", {
{ name: "Option 1", value: "1" },
{ name: "Option 2", value: "2" }
{ name="Option 1", value="1" },
{ name="Option 2", value="2", description="More details about 2" }
})
```