My input field code
<input type="text" placeholder="Enter address" onChange={(e)=>oppaddrchange(e)}/>
And my handler function
const oppaddrchange = (e)=>{ console.log(e.target.value); }
The handler function will print whatever I type until I hit a valid address in the field. As soon as I enter a valid address it will automatically change to this address 0xf4b10f8D6F2659C0Eb2c2F559F62Fd90f0E853d6. No matter what address I input, it will result in the same. When I copy-paste it anywhere on my screen, it works fine. I also tried to enter the address without copy-paste, but the address automatically changes.
What's wrong happening here?
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments