Skip to content

It is not possible to enter 1.0 as a value #918

@mrexodia

Description

@mrexodia

Inspector Version

  • 0.17.2

Describe the bug
It is not possible to enter 1.0 as a parameter value.

To Reproduce
Steps to reproduce the behavior:

  1. Type 1. in the parameter field
  2. Press 0

Expected behavior
See 1.0 in the parameter field, it reverts back to 1 instead.

  • OS: Windows
  • Browser Chrome

Additional context
I need to receive a JSON-RPC call containing 1.0, because just 1 will be converted to an integer in my language (Python):

>>> type(json.loads("1"))
<class 'int'>
>>> type(json.loads("1.0"))
<class 'float'>

Version Consideration

Inspector V2 is under development to address architectural and UX improvements. See CONTRIBUTING.md for information about V2 development.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtoolsIssues related to testing tools

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions