[ISSUE #3432] Make sure public chat topic can be fully erased
This commit is contained in:
parent
b5b3ad204d
commit
57278d2cf9
|
@ -34,7 +34,7 @@
|
||||||
:on-change-text #(re-frame/dispatch [:set :public-group-topic %])
|
:on-change-text #(re-frame/dispatch [:set :public-group-topic %])
|
||||||
:on-submit-editing #(when topic (re-frame/dispatch [:create-new-public-chat topic]))
|
:on-submit-editing #(when topic (re-frame/dispatch [:create-new-public-chat topic]))
|
||||||
:value topic
|
:value topic
|
||||||
:validator #(re-matches #"[a-z\-]+" %)
|
:validator #(re-matches #"[a-z\-]*" %)
|
||||||
:auto-capitalize :none}]])
|
:auto-capitalize :none}]])
|
||||||
|
|
||||||
(defn- public-chat-icon [topic]
|
(defn- public-chat-icon [topic]
|
||||||
|
|
Loading…
Reference in New Issue