Closed aj3423 closed 4 months ago
Combobox crashes if the items contain empty string like: items = []string{"111", "", "333"}
items = []string{"111", "", "333"}
main.go
(latest)
Fedora 40
What happend?
Combobox crashes if the items contain empty string like:
items = []string{"111", "", "333"}
Code example
```golang package main import "github.com/AllenDang/giu" var sel int32 func loop() { giu.SingleWindow().Layout( giu.Combo("", "", []string{ "111", "", // <------ crash "333", }, &sel), ) } func main() { wnd := giu.NewMasterWindow("", 400, 200, 0) wnd.Run(loop) } ```main.go
To Reproduce
Version
(latest)
OS
Fedora 40