 (ns swarmpit.component.service.form-settings
-  (:require [material.component :as comp]
+  (:require [goog.object]
+            [material.component :as comp]
             [swarmpit.component.state :as state]
             [swarmpit.component.service.form-ports :as ports]
             [swarmpit.component.parser :refer [parse-int]]

           :sm   6} (form-replicas replicas)))
      (comp/grid
        {:item true
         :xs   12} (form-command (str/join " " command))))))
     :renderSuggestion            (fn [s props]
                                    (comp/menu-item
                                      {:key      s
                                       :selected (goog.object/get props "isHighlighted")} s))
     :renderSuggestionsContainer  (fn [options]
                                    (comp/paper
                                      (merge {:square true} (keywordize-keys (goog.object/get options "containerProps")))
                                      (goog.object/get options "children")))
     :theme                       {:container                {:position "relative"}
                                   :suggestionsContainerOpen {:position  "absolute"
                                                              :zIndex    1
                                                              :marginTop -8
                                                              :left      0
                                                              :right     0}
                                   :suggestionsList          {:margin        0
