From de157e47c0e35907fea24b73d4cb5572c6d4a619 Mon Sep 17 00:00:00 2001 From: jrs1 Date: Fri, 9 Dec 2016 12:41:44 -0800 Subject: [PATCH] Fixed "Unknown prop 'suffix' on tag. Remove this prop from the element" error. --- package.json | 2 +- src/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 19404dc..15a8247 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/index.js b/src/index.js index 8ba8bed..af5287d 100644 --- a/src/index.js +++ b/src/index.js @@ -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,