From d32b464f87c8d8cbe7f4b33659ad0d59b7fdd0ad Mon Sep 17 00:00:00 2001 From: Kai Vik Date: Sat, 3 Jun 2017 14:53:05 +0200 Subject: [PATCH] Bump version # --- CHANGELOG.md | 5 +++++ package.json | 2 +- src/RIEBase.js | 2 -- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1608bd0..1e2da07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +1.1.0 / 2017-06-03 +================= +- Fixed issue [#41](https://github.com/kaivi/riek/issues/41) + * Always validate to true if no validator passed + 1.0.9 / 2017-06-01 ================= diff --git a/package.json b/package.json index de6c488..d110c5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "riek", - "version": "1.0.9", + "version": "1.1.0", "description": "React Inline Edit Kit", "author": "Kai Vik ", "license": "MIT", diff --git a/src/RIEBase.js b/src/RIEBase.js index a616aca..db6d8fc 100644 --- a/src/RIEBase.js +++ b/src/RIEBase.js @@ -45,10 +45,8 @@ export default class RIEBase extends React.Component { debug(`doValidations(${value})`) let isValid; if(this.props.validate) { - debug('using this.props.validate') isValid = this.props.validate(value); } else if (this.validate) { - debug('using this.validate') isValid = this.validate(value); } else return true this.setState({invalid: !isValid});