[ISSUE #3432] Make sure public chat topic can be fully erased

This commit is contained in:
Julien Eluard 2018-02-27 10:01:16 +01:00 committed by janherich
parent b5b3ad204d
commit 57278d2cf9
No known key found for this signature in database
GPG Key ID: C23B473AFBE94D13
1 changed files with 1 additions and 1 deletions

View File

@ -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]