Routing form accepts blank as its name
Issue Summary
To have a name is something mandatory for the routing form, however, it accepts blank as a name.
Steps to Reproduce
- Install the routing form app
- Click to add a new routing form
- Type a single space
- Click on the Continue button
- Observe
Actual Results
- It's accepting blank as a name
Expected Results
- It should validate that there is no valid value
Technical details
- Tested on Chrome (114.0.5735.134)
Evidence
/bounty 10
~~💎 $10 bounty created by PeerRich~~
~~🙋 If you start working on this, comment /attempt #9871 to notify everyone~~
~~👉 To claim this bounty, submit a pull request that includes the text /claim #9871 somewhere in its body~~
~~📝 Before proceeding, please make sure you can receive payouts in your country~~
~~💵 Payment arrives in your account 2-5 days after the bounty is rewarded~~
~~💯 You keep 100% of the bounty award~~
~~🙏 Thank you for contributing to calcom/cal.com!~~
| Attempt | Started | Solution |
|---|---|---|
| 🟢 @Amar1432 | Jul 2, 2023 | #9887 |
| 🟢 @AnitKrJha | Jul 2, 2023 | #9882 |
| 🟢 @ParbhatKataria1 | Jul 2, 2023 | #9880 |
| 🟢 @jemiluv8 | Jul 1, 2023 | #9877 |
| 🟢 @theprasadjadhav | #9876 |
claim #9871 @PeerRich amde changes in the existing PR for this issue
/attempt #9871
💡 @jemiluv8 submitted a pull request that claims the bounty. You can visit your org dashboard to reward.
/attempt #9871
Note: The user @jemiluv8 is already attempting to complete issue #9871 and claim the bounty. If you attempt to complete the same issue, there is a chance that @jemiluv8 will complete the issue first, and be awarded the bounty. We recommend discussing with @jemiluv8 and potentially collaborating on the same solution versus creating an alternate solution.
💡 @theprasadjadhav submitted a pull request that claims the bounty. You can visit your org dashboard to reward. 👉 @theprasadjadhav: To receive payouts, sign up on Algora, link your Github account and connect with Stripe on your dashboard.
/attempt #9871
💡 @ParbhatKataria1 submitted a pull request that claims the bounty. You can visit your org dashboard to reward. 👉 @ParbhatKataria1: To receive payouts, sign up on Algora, link your Github account and connect with Stripe on your dashboard.
/attempt #9871
💡 @AnitKrJha submitted a pull request that claims the bounty. You can visit your org dashboard to reward.
@PeerRich no need to add the javascript validation logic to the Name field , just adding required will suffice. Anyways the urls for the forms are based on the uuid not the name
💡 @Amar1432 submitted a pull request that claims the bounty. You can visit your org dashboard to reward. 👉 @Amar1432: To receive payouts, sign up on Algora, link your Github account and connect with Stripe on your dashboard.