-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2023-06-21] Make Form's validate prop optional #20525
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0107197fe609fa957e |
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor Plus for review of internal employee PR - @thesahindia ( |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.27-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-06-21. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@thesahindia please complete the checklist and I'll issue payment 😊 |
@sonialiap, we can skip the checklist. It was just a small code improvement. |
@thesahindia offer sent 🚀 |
Accepted, thanks! |
Paid ✅ |
Problem
Coming from this comment, we have a few optional fields that don't need a validate function in Form. Instead of requiring the prop and passing an empty function, we should just make the prop not required and add a default to it.
Why is this important
Keeps code clean
Solution
Make the prop optional
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: