= true;
                        } else {
                            console.log(`✗ No match for type ${type.name} (ID: ${type.cable_typesID})`);
                        }
                        select.appendChild(option);
                    });
                    return true;
                } else {
                    select.innerHTML = '<option value="">Error loading types</option>';
                    return false;
                }
            })
            .catch(error => {
                con