You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
required_if then another validation between, not working as expected. it just run the between validation even the value of isSignatory is not true
#431
Open
glespinosa opened this issue
Jul 9, 2021
· 0 comments
The text was updated successfully, but these errors were encountered:
glespinosa
changed the title
required_if then another validation between, not working as expected. it just run the between validation without looking for the required_if
required_if then another validation between, not working as expected. it just run the between validation even the value of isSignatory is not true
Jul 9, 2021
signatureImageId: {
name: 'required_if:isSignatory,true',
type: [
'required_if:isSignatory,true',
'regex:/(\jpeg|\png|\jpg)$/i',
],
size: 'required_if:isSignatory,true|between:0,4096',
},
The text was updated successfully, but these errors were encountered: