Add form validation messages for min == max
The input validation has only been considered underflow or overflow. If min and max values are equal and the user input value is different, we should show a message that the values does not match. In this CL, InputType will calculate 'value != min && min == max' to check it must be same. Bug: 1073923 Change-Id: Ia7e1e5e9ece70cd31034f3bda2c833dd36ed1d76 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2389281 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Mason Freed <masonfreed@chromium.org> Reviewed-by:
Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#805588}
Showing
Please register or sign in to comment