Last active
August 29, 2015 14:09
-
-
Save devasiajoseph/b809ef55ebb4290743a3 to your computer and use it in GitHub Desktop.
Om password field Firefox issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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")}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment