mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Don't show the combobox control for a readonly input field
This commit is contained in:
@@ -241,7 +241,9 @@ export function d3combobox() {
|
||||
}
|
||||
|
||||
function render() {
|
||||
if (_suggestions.length >= _minItems && document.activeElement === input.node()) {
|
||||
if (_suggestions.length >= _minItems &&
|
||||
document.activeElement === input.node() &&
|
||||
input.attr('readonly') === null) {
|
||||
show();
|
||||
} else {
|
||||
hide();
|
||||
|
||||
Reference in New Issue
Block a user