From 6798f3359854737a4d138039e7283cf711646ca4 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 29 Apr 2025 14:39:14 +0200 Subject: [PATCH] link label of address field to housenumber input element this makes the most sense, as it should be almost always present in the address field and be the most "unique/important" value to edit for an address closes #11004 --- modules/ui/fields/address.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ui/fields/address.js b/modules/ui/fields/address.js index 2b7851215..f706a5f3f 100644 --- a/modules/ui/fields/address.js +++ b/modules/ui/fields/address.js @@ -268,6 +268,7 @@ export function uiFieldAddress(field, context) { .enter() .append('input') .property('type', 'text') + .attr('id', d => d.id === 'housenumber' ? field.domId : null) .attr('class', function (d) { return 'addr-' + d.id; }) .call(utilNoAuto) .each(addDropdown)