forked from mbk-lab/rui_orig
Bug fixing
This commit is contained in:
parent
5926a7649f
commit
69fcfa0839
|
@ -6,6 +6,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// DropDownEvent is the constant for "drop-down-event" property tag.
|
||||||
|
// The "drop-down-event" event occurs when a list item becomes selected.
|
||||||
|
// The main listener format: func(DropDownList, int), where the second argument is the item index.
|
||||||
const DropDownEvent = "drop-down-event"
|
const DropDownEvent = "drop-down-event"
|
||||||
|
|
||||||
// DropDownList - the interface of a drop-down list view
|
// DropDownList - the interface of a drop-down list view
|
||||||
|
|
|
@ -137,7 +137,7 @@ func (edit *editViewData) remove(tag string) {
|
||||||
if oldText != "" {
|
if oldText != "" {
|
||||||
edit.textChanged("")
|
edit.textChanged("")
|
||||||
if edit.created {
|
if edit.created {
|
||||||
edit.session.runScript(fmt.Sprintf(`setInputValue('%s', '%s')`, edit.htmlID()))
|
edit.session.runScript(fmt.Sprintf(`setInputValue('%s', '%s')`, edit.htmlID(), ""))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue