Validation on optional fields #45
Closed
squidfingers
started this conversation in
General
Replies: 2 comments
-
Let me reproduce and patch. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Moved to an issue: #52 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When a field does not have the
required
key set totrue
, but it has apattern
, this appears to make the field required anyway.When a field is optional, shouldn't the
pattern
only be validated if the value is not empty?Beta Was this translation helpful? Give feedback.
All reactions