Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Fix a bug in UI that makes the number in editText unchanged
Browse files Browse the repository at this point in the history
  • Loading branch information
dzx-dzx committed Mar 23, 2020
1 parent 0b41fcb commit 534f05a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packs/resources/experimental_ui/menu/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@
function setNumber() {
let number = Number.parseFloat(editTextInput)
let element = document.getElementById(idOfEditTextOnFocus)
// option[optionUsage[idOfEditTextOnFocus].key]=element.value = number
// option[optionUsage[idOfEditTextOnFocus].key]=
element.value = number
setData({
key: optionUsage[idOfEditTextOnFocus].key,
value: number
Expand Down

0 comments on commit 534f05a

Please sign in to comment.