Skip to content

Token input 'max' value not validated nor formatted #295

Open
@fernandomg

Description

@fernandomg

Describe the bug
When clicking the max button, the input is filled with raw data, without being formatted (that is, adding the commas for the thousand separators), nor it's validated.

For the latter it's a bit weird, as it's the dapp defining the max value, it shouldn't be something to be checked, but it happens. I don't think it's necessary to fix that as it shouldn't pass a value greater than max (in the example video, the value has been hardcoded).

To Reproduce
Steps to reproduce the behavior:
Se the video

Expected behavior
Clicking max, should fill the input with the value properly formatted

Screenshots

Screen.Recording.2024-09-10.at.7.22.44.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions