We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a18004 + 828c161 commit 8b3f40aCopy full SHA for 8b3f40a
LearningHub.Nhs.WebUI/Views/Shared/Components/DateInput/Default.cshtml
@@ -121,7 +121,7 @@
121
errorElement.style.visibility = 'hidden';
122
123
setTimeout(function () {
124
- if (value < 1 || value > max || !value.match(/^[0-9]*$/)) {
+ if (value < 0 || value > max || !value.match(/^[0-9]*$/)) {
125
inputElement.value = inputElement.value.slice(0, -1) + 1;
126
inputElement.value = inputElement.value.slice(0, -1);
127
inputElement.setAttribute('aria-invalid', 'true');
0 commit comments