woocommerce-ios icon indicating copy to clipboard operation
woocommerce-ios copied to clipboard

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

Open iamgabrielma opened this issue 4 months ago • 1 comments

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 https://github.com/woocommerce/woocommerce-ios/pull/14057 , but the placeholder is not affected.

iamgabrielma avatar Sep 30 '24 09:09 iamgabrielma