Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
This repository was archived by the owner on May 24, 2022. It is now read-only.

Prevent user from entering invalid "Amount" input field values on "Send Ether" page #247

@ltfschoen

Description

@ltfschoen

on the "Send Ether" page, the user is not prevented from entering the following values for the "Amount" input field:

  • invalid characters like "+-eE,"
  • invalid use of decimal point like "0.0.0"
  • negative values like "-1"

And it doesn't display any error tooltip for the "Amount" input field (like "Please enter a valid amount") until after they've entered a value for the "To" input field that the form considers to be valid.

Is there an opportunity to prevent the user from entering invalid input values similar to what we did for the Balance input field of polkadot-js/apps polkadot-js/apps#144?

screen shot 2018-11-10 at 20 04 02

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions