le.length;
                    document.getElementById('editCableMM2').value = cable.mm2;
                    document.getElementById('editCableName').value = cable.name || '';
                    
                    // Load all dropdown data concurrently and wait for completion
                    // Note: Cable.Type is mapped to JSON field "typ"
                    Promise.all([
                        loadCableTypes('editCableType', cable.typ),
                        loadConnectors('editCableConnector1