Skip to content

Custom Amounts UI placeholder shows additional spaces if these were added to store settings #14072

Open
@iamgabrielma

Description

@iamgabrielma

If we add spaces to the currency separators under WooCommerce > Settings > General, these additional spaces can be seen in the placeholder amount when creating a custom amount to add to an order:

Screenshot 2024-09-30 at 16 13 38

We still sanitize the fields correctly thanks to #14057 , but the placeholder is not affected.

Activity

dangermattic

dangermattic commented on Sep 30, 2024

@dangermattic
Collaborator

Thanks for reporting! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature: simple paymentsRelated to the Simple Payments featurepriority: lowNot many people are affected or there’s a workaround, etc.type: bugA confirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @iamgabrielma@dangermattic

      Issue actions

        Custom Amounts UI placeholder shows additional spaces if these were added to store settings · Issue #14072 · woocommerce/woocommerce-ios