Skip to content

Input validation for multibyte is offΒ #22

@gpersoon

Description

@gpersoon

When you have an input field of bytes4, like in the following function:

pragma solidity ^0.5.0;
contract TestInput {  
      function Test(bytes4 x) external view returns(bytes4) {
         return x;
    }  
}

And then you enter "0x12", the input validator shows √ which indicates the input is ok. However when you press the arrow icon nothing happens:
image

Only when you enter 8 digits, like "0x12345678" you can use the arrow and the function is called.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions