From d6c19669cf71a4fe8af47206b113cde5ae4a454f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 18 Feb 2019 11:05:21 +0100 Subject: [PATCH] revert some select voodoo --- src/components/atoms/Form/Input.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/atoms/Form/Input.tsx b/src/components/atoms/Form/Input.tsx index 643434c..405fac7 100644 --- a/src/components/atoms/Form/Input.tsx +++ b/src/components/atoms/Form/Input.tsx @@ -49,15 +49,7 @@ export default class Input extends PureComponent { } public InputComponent = () => { - const { - type, - options, - group, - name, - required, - onChange, - value - } = this.props + const { type, options, group, name, required, onChange } = this.props const wrapClass = this.inputWrapClasses() @@ -72,8 +64,6 @@ export default class Input extends PureComponent { onFocus={this.toggleFocus} onBlur={this.toggleFocus} onChange={onChange} - defaultValue={''} - value={value} > {options &&