Enhanced MethodDecoding in Transactions list (#3454)
* Better MethodDecoding UI // No empty params #3452 * Display input if ASCII in transactions #3434 * Fixes UI for #3454 * Better MethodDecoding contract detection #3454
This commit is contained in:
committed by
Jaco Greeff
parent
a7574a1108
commit
18f570327e
@@ -144,7 +144,7 @@ export default class Input extends Component {
|
||||
}
|
||||
|
||||
renderCopyButton () {
|
||||
const { allowCopy, hideUnderline, label, hint, floatCopy } = this.props;
|
||||
const { allowCopy, label, hint, floatCopy } = this.props;
|
||||
const { value } = this.state;
|
||||
|
||||
if (!allowCopy) {
|
||||
@@ -159,7 +159,7 @@ export default class Input extends Component {
|
||||
? allowCopy
|
||||
: value;
|
||||
|
||||
if (hideUnderline && !label) {
|
||||
if (!label) {
|
||||
style.marginBottom = 2;
|
||||
} else if (label && !hint) {
|
||||
style.marginBottom = 4;
|
||||
@@ -182,6 +182,7 @@ export default class Input extends Component {
|
||||
}
|
||||
|
||||
onChange = (event, value) => {
|
||||
event.persist();
|
||||
this.setValue(value, () => {
|
||||
this.props.onChange && this.props.onChange(event, value);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user