{"version":"2.1.311","anchor":"feedback-input-validation-for-numeric-ratings","canonical_anchor":"feedback-input-validation-for-numeric-ratings","heading":"Feedback dialog accepts only a valid number as its answer","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/feedback-input-validation-for-numeric-ratings","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Feedback dialog accepts only a valid number as its answer\n\nA feedback dialog now accepts an empty answer or a single digit: 0 or 1 for errors, 0, 1 or 2 otherwise\n\n**What**\n\nA feedback dialog now checks the number you type. It accepts:\n\n- an empty answer\n\n- `0` or `1` when the feedback is about an error\n\n- `0`, `1` or `2` for other feedback\n\nDigits typed in other forms, such as full-width digits from some keyboards, are converted to ordinary digits before the check.\n\n**Why**\n\nThe dialog only takes answers in the allowed range, so a stray character cannot be submitted as a rating.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}