Skip to content

Commit

Permalink
Release 0.16.25
Browse files Browse the repository at this point in the history
  • Loading branch information
seeden committed Nov 12, 2016
1 parent 2e3c519 commit 7703aec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "react-form-controlled",
"version": "0.16.24",
"version": "0.16.25",
"description": "React controlled form components. The main idea is to make forms as simple as possible.",
"author": {
"name": "Zlatko Fedor",
Expand Down
6 changes: 6 additions & 0 deletions src/Textarea.jsx
Expand Up @@ -14,12 +14,18 @@ export default class Textarea extends Input {
className: PropTypes.string,
};

getClassName() {
const { className } = this.props;
return className;
}

render() {
const { path } = this.props;

return (
<textarea
{...this.props}
className={this.getClassName()}
name={path}
onChange={this.onChange}
onFocus={this.onFocus}
Expand Down

0 comments on commit 7703aec

Please sign in to comment.