cal.diy icon indicating copy to clipboard operation
cal.diy copied to clipboard

Routing form accepts blank as its name

Open ericrommel opened this issue 3 years ago • 14 comments

Issue Summary

To have a name is something mandatory for the routing form, however, it accepts blank as a name.

Steps to Reproduce

  1. Install the routing form app
  2. Click to add a new routing form
  3. Type a single space
  4. Click on the Continue button
  5. 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

image

image

image

ericrommel avatar Jul 01 '23 16:07 ericrommel

/bounty 10

PeerRich avatar Jul 01 '23 17:07 PeerRich

~~💎 $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

algora-pbc[bot] avatar Jul 01 '23 17:07 algora-pbc[bot]

claim #9871 @PeerRich amde changes in the existing PR for this issue

Aditay2002 avatar Jul 01 '23 19:07 Aditay2002

/attempt #9871

jemiluv8 avatar Jul 01 '23 22:07 jemiluv8

💡 @jemiluv8 submitted a pull request that claims the bounty. You can visit your org dashboard to reward.

algora-pbc[bot] avatar Jul 02 '23 00:07 algora-pbc[bot]

/attempt #9871

Amar1432 avatar Jul 02 '23 05:07 Amar1432

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.

algora-pbc[bot] avatar Jul 02 '23 05:07 algora-pbc[bot]

💡 @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.

algora-pbc[bot] avatar Jul 02 '23 06:07 algora-pbc[bot]

/attempt #9871

ParbhatKataria1 avatar Jul 02 '23 08:07 ParbhatKataria1

💡 @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.

algora-pbc[bot] avatar Jul 02 '23 11:07 algora-pbc[bot]

/attempt #9871

AnitKrJha avatar Jul 02 '23 13:07 AnitKrJha

💡 @AnitKrJha submitted a pull request that claims the bounty. You can visit your org dashboard to reward.

algora-pbc[bot] avatar Jul 02 '23 14:07 algora-pbc[bot]

@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

AnitKrJha avatar Jul 02 '23 14:07 AnitKrJha

💡 @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.

algora-pbc[bot] avatar Jul 02 '23 17:07 algora-pbc[bot]