git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3c5b780
)
luci-base: allow submitting new value in android chromium
author
Ramon Van Gorkom
<redacted>
Fri, 25 Jul 2025 19:32:52 +0000
(21:32 +0200)
committer
Paul Donald
<redacted>
Mon, 28 Jul 2025 20:30:58 +0000
(22:30 +0200)
Update ui.js to allow submitting from dropdown on android chromium.
Signed-off-by: Ramon Van Gorkom <redacted>
modules/luci-base/htdocs/luci-static/resources/ui.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/ui.js
b/modules/luci-base/htdocs/luci-static/resources/ui.js
index d78fd39f7b858c2dad32345f28aa337562c2a13a..1c287aeeb8cb7f05abe34837b7ebe554e96db7d4 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/ui.js
@@
-1090,7
+1090,8
@@
const UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ {
'class': 'create-item-input',
'readonly': this.options.readonly ? '' : null,
'maxlength': this.options.maxlength,
- 'placeholder': this.options.custom_placeholder ?? this.options.placeholder
+ 'placeholder': this.options.custom_placeholder ?? this.options.placeholder,
+ 'inputmode': 'text',
});
if (this.options.datatype || this.options.validate)
git clone https://git.99rst.org/PROJECT