I am having a weird issue rendering a password field inside a form which
happens only in firefox
This code is given below:
(ns app.user
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[goog.dom :as gdom]))
(def password-data (atom {}))
(defn password-input [data owner]
(reify
om/IRender
(render [this]
(dom/form #js {}
(dom/input #js {:type "password" :id "test-password"})
(dom/input #js {:type "password" :id "confirm-password"})))))
(om/root password-input password-data
{:target (gdom/getElement "test")})
The issue is, the first password field inside the form is auto-filled with
value "password".
My firefox version is 33.0 on Linux Ubuntu 14.04 LTS
Thanks in advance.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.