From 797bb1b5ed98bd48d027725c8b2f3c70d59f07ae Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Thu, 3 May 2018 03:03:15 +0300 Subject: [PATCH] clear text in input when node mounts --- web/app/components/input/input.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/app/components/input/input.jsx b/web/app/components/input/input.jsx index 0726d6ae..439a083e 100644 --- a/web/app/components/input/input.jsx +++ b/web/app/components/input/input.jsx @@ -20,6 +20,8 @@ export default class Input extends Component { if (this.props.autoFocus) { this.fieldNode.focus(); } + + this.fieldNode.value = ''; } onKeyDown(e) {