fixes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
(ns auto-ap.views.components.button-radio)
|
||||
|
||||
(defn button-radio [{:keys [options on-change value]}]
|
||||
(defn button-radio [{:keys [options on-change value disabled]}]
|
||||
[:div.control
|
||||
[:div.field.has-addons
|
||||
(for [[k v] options]
|
||||
@@ -9,4 +9,5 @@
|
||||
[:a.button {:class (if (= value k)
|
||||
"is-primary"
|
||||
"")
|
||||
:disabled disabled
|
||||
:on-click (fn [] (on-change k))} v]])]])
|
||||
|
||||
Reference in New Issue
Block a user