Skip to content

Commit

Permalink
Merge branch 'evc-validation-message-fix' into release-0.0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
soson committed Dec 8, 2021
2 parents 6869514 + 439f426 commit 9766af2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const EvcSchema = yup.object().shape({
evcType: yup.string().required('Evc type is required'),
circuitReference: yup
.string()
.matches(/CPNH2\d{8}-(\d{3,4})/, 'Circuit Reference should have following format: CPNH-00000000-0000')
.matches(/CPNH2\d{8}-(\d{3,4})/, 'Circuit Reference should have following format: CPNH2-00000000-0000')
.required('Circuit Reference is required'),
svlanId: yup.number().required('Svlan Id is required'),
inputBandwidth: yup.number().required('Input Bandwidth is required'),
Expand Down

0 comments on commit 9766af2

Please sign in to comment.