Skip to content

Commit

Permalink
v0.3.1. Ensure StringField has a default of ''
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec Perkins committed Apr 9, 2014
1 parent b0695b4 commit 9384023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doodad-ui",
"version": "0.3.0",
"version": "0.3.1",
"description": "",
"engines": {
"node": "0.10.x",
Expand Down
1 change: 1 addition & 0 deletions source/components/StringField.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ class StringField extends BaseDoodad
return

setValue: (value, opts={ silent: false }) =>
value ?= ''
if value isnt @value
@raw_value = value
if @_config.type is 'token'
Expand Down

0 comments on commit 9384023

Please sign in to comment.