Skip to content

Commit

Permalink
fix nil value for input fields
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information
ibdknox committed Sep 26, 2011
1 parent 9743cbc commit 0b23c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pinot/html/tags.cljs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
[:input {:type tpe [:input {:type tpe
:name (or nme nil) :name (or nme nil)
:id (or nme nil) :id (or nme nil)
:value (or value nil)}]) :value (or value "")}])


(pm/defelem text-field [nme value] (pm/defelem text-field [nme value]
(input-field "text" nme value)) (input-field "text" nme value))
Expand Down

0 comments on commit 0b23c63

Please sign in to comment.