Skip to content

Add cursor to the FormattableAmountTextField #14135

Open
@toupper

Description

@toupper

The FormattableAmountTextField that we use in Custom Amounts, Order Shipping Methods and Cash Payments doesn't have a cursor, which makes difficult it to the user to enter their desired value.
From here:

I included the cursor in all my designs for this text field style. It’s the most commonly used element of all text fields to indicate not just that the field is focused, but also where the user should expect to see their typing appear. I’ve been meaning to raise it in my design dusting posts soon.

ichqhxDjbmZZmvJaJkGhkj-fi-698_29716 (Link to Figma designs for custom amounts)

As for focusing the field, the border below the text area is supposed to be the bottom of the field, so my first thought is to try making that border bold and purple. This is probably a good idea even if we show the cursor.

CleanShot 2024-09-26 at 09 53 49@2x

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions