forked from mbk-lab/rui_orig
Bug fixing
This commit is contained in:
parent
5926a7649f
commit
69fcfa0839
|
@ -6,6 +6,9 @@ import (
|
|||
"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"
|
||||
|
||||
// DropDownList - the interface of a drop-down list view
|
||||
|
|
|
@ -137,7 +137,7 @@ func (edit *editViewData) remove(tag string) {
|
|||
if oldText != "" {
|
||||
edit.textChanged("")
|
||||
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