mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
Merge branch 'fix/metadata' of https://github.com/oceanprotocol/commons-marketplace into fix/metadata
This commit is contained in:
commit
be8c8eb378
@ -49,15 +49,7 @@ export default class Input extends PureComponent<InputProps, InputState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public InputComponent = () => {
|
public InputComponent = () => {
|
||||||
const {
|
const { type, options, group, name, required, onChange } = this.props
|
||||||
type,
|
|
||||||
options,
|
|
||||||
group,
|
|
||||||
name,
|
|
||||||
required,
|
|
||||||
onChange,
|
|
||||||
value
|
|
||||||
} = this.props
|
|
||||||
|
|
||||||
const wrapClass = this.inputWrapClasses()
|
const wrapClass = this.inputWrapClasses()
|
||||||
|
|
||||||
@ -72,8 +64,6 @@ export default class Input extends PureComponent<InputProps, InputState> {
|
|||||||
onFocus={this.toggleFocus}
|
onFocus={this.toggleFocus}
|
||||||
onBlur={this.toggleFocus}
|
onBlur={this.toggleFocus}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
defaultValue={''}
|
|
||||||
value={value}
|
|
||||||
>
|
>
|
||||||
<option value="">---</option>
|
<option value="">---</option>
|
||||||
{options &&
|
{options &&
|
||||||
|
Loading…
Reference in New Issue
Block a user