0

How can I make this only clear when the text area is focused?

https://code.sololearn.com/WhH3Q09RHeQj/?ref=app Press the escape key to clear. But I only want it to clear when the textarea is focused (yes this is my code. I'm on a different account)

29th Aug 2018, 11:32 PM
SecretCodeNinja
1 Odpowiedź
0
Use onFocused
31st Aug 2018, 9:31 PM
Eldar Bakerman