Skip to content

Commit a65faf7

Browse files
committed
default autocomplete to off, bump version
1 parent f134c2d commit a65faf7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject org.clojars.intception/om-widgets "0.3.42"
1+
(defproject org.clojars.intception/om-widgets "0.3.43"
22
:description "Widgets for OM/React"
33
:url "https://github.com/orgs/intception/"
44
:license {:name "Eclipse Public License"

‎src/om_widgets/textinput.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@
397397
:name (:id state)
398398
:hidden (:hidden state)
399399
:className (clojure.string/join " " ["om-widgets-input-text" (:input-class state)])
400-
:autoComplete (:auto-complete state)
400+
:autoComplete (or (:auto-complete state)
401+
"off")
401402
:readOnly (:read-only state)
402403
:onKeyDown #(if (false? (handlekeydown target owner state %))
403404
(.preventDefault %)

0 commit comments

Comments
 (0)