Skip to content

Commit 77e01d3

Browse files
TGSANsystemcrash
authored andcommitted
luci-base: standards compliant dropdown fix for mobile keyboards
Signed-off-by: TGSAN <[email protected]>
1 parent 7723fb2 commit 77e01d3

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,7 @@ const UIDropdown = UIElement.extend(/** @lends LuCI.ui.Dropdown.prototype */ {
10921092
'maxlength': this.options.maxlength,
10931093
'placeholder': this.options.custom_placeholder ?? this.options.placeholder,
10941094
'inputmode': 'text',
1095+
'enterkeyhint': 'done'
10951096
});
10961097

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

0 commit comments

Comments
 (0)