                   disabled: ('disabled' if selectedNetwork.subnets.length == 1 || edit),
                   onChange: ((e) -> handleChange(e.target.name, e.target.value)),
 
-                      for subnet in selectedNetwork.subnets
-                        React.createElement 'option', value: subnet.id, key: subnet.id, subnet.name
+                      for subnet, i in selectedNetwork.subnets
+                        React.createElement 'option', value: subnet.id, key: i, subnet.name
 
 
     React.createElement 'div', className: "form-group required string" ,

import { connect } from "react-redux"
import "../../lib/form_helpers.coffee"

{ updateAdvancedOptions, changeVersion} = kubernetes


AdvancedOptions = ({

                  disabled: ('disabled' if metaData.routers.length == 1 || edit),
                  onChange: ((e) -> handleChange(e.target.name, e.target.value)),

                      for router, i in metaData.routers
                        React.createElement 'option', value: router.id, key: i, router.name

        # Network
        if options.routerID? && selectedRouter? && selectedRouter.networks?
