Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
fix: textarea.value 、textarea.defaultValue
Browse files Browse the repository at this point in the history
  • Loading branch information
shenlq committed Nov 9, 2016
1 parent 68b8357 commit 3f71e65
Show file tree
Hide file tree
Showing 3 changed files with 5 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-impression",
"version": "1.0.2",
"version": "1.0.3",
"author": "peter.shenlq",
"description": "An enterprise-class UI design language and React-based implementation.",
"main": "./lib/index.js",
Expand Down
2 changes: 2 additions & 0 deletions site/src/scripts/components/impression/components/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ export default class Input extends PureComponent {
style={style}
disabled={disabled}
placeholder={placeholder}
value={value}
defaultValue={defaultValue}
{...others}
className={classnames('form-control', className)} />
);
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/components/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ export default class Input extends PureComponent {
style={style}
disabled={disabled}
placeholder={placeholder}
value={value}
defaultValue={defaultValue}
{...others}
className={classnames('form-control', className)} />
);
Expand Down

0 comments on commit 3f71e65

Please sign in to comment.