      (form-image image)
      (form-name serviceName update-form?)
      (form-mode mode update-form?)
-     (if (= "replicated" mode) (form-replicas replicas update-form?))
+     (if (= "replicated" mode) (form-replicas replicas))
      (form-autoredeploy autoredeploy)]))
             :label    "Global"
             :value    "global"}))))

(defn- form-replicas [value update-form?]
  (material/form-edit-row
    (str "REPLICAS  " "(" value ")")
    (material/slider #js {:min          1

                          :step         1
                          :defaultValue 1
                          :value        value
                          :onChange     (fn [e v] (update-item :replicas v))
                          :sliderStyle  #js {:marginTop "14px"}})))

