Skip to content

Commit

Permalink
Fixed "Unknown prop 'suffix' on <input> tag. Remove this prop from th…
Browse files Browse the repository at this point in the history
…e element" error.
  • Loading branch information
jsillitoe committed Dec 9, 2016
1 parent e3c223d commit de157e4
Show file tree
Hide file tree
Showing 2 changed files with 3 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": "react-currency-input",
"version": "1.0.8",
"version": "1.0.9",
"description": "React component for inputing currency amounts",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ const CurrencyInput = React.createClass({
delete customProps.precision;
delete customProps.inputType;
delete customProps.allowNegative;
delete customProps.prefix;
delete customProps.suffix;
this.setState({
maskedValue: mask(
nextProps.value,
Expand Down

0 comments on commit de157e4

Please sign in to comment.