View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012163 | Taler | merchant portal webui | public | 2026-11-17 14:55 | 2026-11-17 14:55 |
| Reporter | Oliver | ||||
| Priority | normal | Severity | minor | ||
| Status | new | ||||
| Summary | 0012163: Bug: Discount Percentage field does not accept comma (,) as a decimal separator | ||||
| Description | When creating a new Discount in the Merchant Portal, the percentage input field fails to validate correctly if a comma (,) is used as the decimal separator instead of a full stop (.). Currently, if a user enters a value like "1,5" for a 1.5% discount, the system does not recognize it as a valid number. Instead, it triggers a validation error: "Enter a percentage greater than 0 and no more than 100, with up to eight decimal places." To improve usability, the system should be updated to recognize and accept both commas and full stops as decimal separators for numerical inputs. | ||||
| Steps To Reproduce | 1. Navigate to the "Discounts" section and click to create a new Discount. 2. In the percentage field, enter a value using a comma (e.g., 1,5). 3. Attempt to save the Discount. 4. Actual Result: The system fails to save and displays the error message: "Enter a percentage greater than 0 and no more than 100, with up to eight decimal places." 5. Expected Behavior: The system should recognize "1,5" as "1.5" and allow the Discount to be saved successfully. | ||||
| Additional Information | While testing this, I also noticed that the button text remains "Create Discount/Pass" even when specifically creating a Discount. I will open a separate ticket for that UI inconsistency to keep this ticket focused on the input bug. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||