1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

revert some select voodoo

This commit is contained in:
Matthias Kretschmann 2019-02-18 11:05:21 +01:00
parent 7f4735e46c
commit d6c19669cf
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -49,15 +49,7 @@ export default class Input extends PureComponent<InputProps, InputState> {
}
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<InputProps, InputState> {
onFocus={this.toggleFocus}
onBlur={this.toggleFocus}
onChange={onChange}
defaultValue={''}
value={value}
>
<option value="">---</option>
{options &&