ourjapanlife / findadoc-web

Front-end repository for Find a Doc, Japan
https://findadoc.jp
BSD 3-Clause "New" or "Revised" License
15 stars 14 forks source link

refactor: remove required validation check from mod input #761

Closed NabbeunNabi closed 23 hours ago

NabbeunNabi commented 1 day ago

Resolves #760

🔧 What changed

Before the validation check was required. But not every field on the form will always be required. For instance, in Japan middle names are rare but are optional when accepting a doctor or submission. This reworks the logic for the validation check in order to fit the reusability within the moderation panel.

netlify[bot] commented 1 day ago

Deploy Preview for findadoc ready!

Name Link
Latest commit 5a3f5eae92de9f5b12b7f22b9c2f5048b39b307e
Latest deploy log https://app.netlify.com/sites/findadoc/deploys/66fd1482aec2e200083f42e1
Deploy Preview https://deploy-preview-761--findadoc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.