Skip to content

Commit

Permalink
Merge pull request #1323 from kawasin73/editor-type
Browse files Browse the repository at this point in the history
Fix Editor to use editable.type
  • Loading branch information
AllenFang authored May 17, 2017
2 parents 47f6e34 + 88379d7 commit e3f87e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const editor = function(editable, attr, format, editorClass, defaultValue, ignor
);
} else {// process other input type. as password,url,email...
return (
<input { ...attr } type='text' defaultValue={ defaultValue }/>
<input { ...attr } type={ editable.type } defaultValue={ defaultValue }/>
);
}
}
Expand Down

0 comments on commit e3f87e0

Please sign in to comment.