Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Uncaught error when using non-numeric characters in TX amount #5

Open
axelchalon opened this issue Aug 4, 2018 · 0 comments
Open
Labels
bug Something isn't working

Comments

@axelchalon
Copy link
Contributor

Steps to reproduce

  • Contracts tab: select a contract
  • Click Execute
  • In Transaction value, enter a non-numeric character, blur

Expected result
Dapp doesn't crash

Actual result
Dapp crashes

image

<Input
error={ amountError }
hint={
<FormattedMessage
id='executeContract.details.amount.hint'
defaultMessage='The amount to send to with the transaction'
/>
}
label={
<FormattedMessage
id='executeContract.details.amount.label'
defaultMessage='Transaction value (in ETH)'
/>
}
onSubmit={ onAmountChange }
value={ amount }
/>

@axelchalon axelchalon added the bug Something isn't working label Aug 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant