Skip to content

Commit 5cb2eb6

Browse files
Ramon00systemcrash
authored andcommitted
luci-base: allow submitting new value in android chromium
Update ui.js to allow submitting from dropdown on android chromium. Signed-off-by: Ramon Van Gorkom <[email protected]>
1 parent 3c5b780 commit 5cb2eb6

File tree

1 file changed

+2
-1
lines changed
  • modules/luci-base/htdocs/luci-static/resources

1 file changed

+2
-1
lines changed

modules/luci-base/htdocs/luci-static/resources/ui.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,8 @@ const UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ {
10901090
'class': 'create-item-input',
10911091
'readonly': this.options.readonly ? '' : null,
10921092
'maxlength': this.options.maxlength,
1093-
'placeholder': this.options.custom_placeholder ?? this.options.placeholder
1093+
'placeholder': this.options.custom_placeholder ?? this.options.placeholder,
1094+
'inputmode': 'text',
10941095
});
10951096

10961097
if (this.options.datatype || this.options.validate)

0 commit comments

Comments
 (0)