Skip to content

Commit

Permalink
#3055 Test fixing month value range
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalizer committed Jan 2, 2025
1 parent 93e1977 commit 198d63b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dashboard/src/components/expiration/ExpirationConfigPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const monthlyDayCategories = ref([
{ name: 'Other', key: SET_DAY_OF_MONTH },
])
const yearlyYears = ref(1);
const yearlyMonth = ref(1);
const yearlyMonth = ref(0);
const yearlyDayOfMonth = ref(1);
const monthlyMonths = ref(1);
const monthlyDay = ref(1);
Expand Down Expand Up @@ -176,8 +176,8 @@ const schema = yup.object().shape({
is: YEARLY,
then: (sch) => sch
.required()
.min(1)
.max(12)
.min(0)
.max(11)
.label('Month'),
}),
'yearlyDayOfMonth': yup.number()
Expand Down

0 comments on commit 198d63b

Please sign in to comment.