Adds onPaste event to Inputs #3127

This commit is contained in:
Nicolas Gotchac
2016-11-15 17:58:11 +01:00
parent 039bd3c9f9
commit aae7af6895
2 changed files with 20 additions and 9 deletions

View File

@@ -227,6 +227,7 @@ export default class AddContract extends Component {
onEditAbi = (abiIn) => {
const { api } = this.context;
const { abi, abiError, abiParsed } = validateAbi(abiIn, api);
this.setState({ abi, abiError, abiParsed });
}