Minor fixes I saw after committing
This commit is contained in:
parent
7f03ae4918
commit
155900e29e
|
@ -59,7 +59,11 @@ const AddressField: React.SFC<Props> = ({
|
|||
className={`input-group-input ${!isValid && !isLabelEntry ? 'invalid' : ''}`}
|
||||
isValid={isValid}
|
||||
type="text"
|
||||
value={value ? value : isCheckSummed ? toChecksumAddress(currentTo.raw) : currentTo.raw}
|
||||
value={
|
||||
value !== null
|
||||
? value
|
||||
: isCheckSummed ? toChecksumAddress(currentTo.raw) : currentTo.raw
|
||||
}
|
||||
placeholder={placeholder}
|
||||
readOnly={!!(isReadOnly || readOnly)}
|
||||
spellCheck={false}
|
||||
|
|
|
@ -101,7 +101,7 @@ class AddressInputFactoryClass extends Component<Props> {
|
|||
const controlled = value == null && !onChangeOverride;
|
||||
|
||||
return (
|
||||
<div className={'AddressInput form-group'}>
|
||||
<div className="AddressInput form-group">
|
||||
<div className={inputClassName}>
|
||||
<Query
|
||||
params={['readOnly']}
|
||||
|
|
Loading…
Reference in New Issue