Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fixes gas/gasPrice change not reflected in transaction modal #2735

Merged
merged 1 commit into from
Oct 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions js/src/ui/Form/Input/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ export default class Input extends Component {
value: this.props.value
}

componentWillReceiveProps (newProps) {
if (newProps.value !== this.props.value) {
this.setValue(newProps.value);
}
}

render () {
const { value } = this.state;
const { children, className, disabled, error, label, hint, multiLine, rows, type } = this.props;
Expand Down