cal.com
cal.com copied to clipboard
[CAL-272] Cannot pre-fill using ?location query param anymore
Issue Summary
I honestly don't know if this was possible accidentally or if there was proper support for it, but we used to add the ?location=
query param to our event links so we could pre-fill individual on-boarding URLs per customer. We just recently upgraded from an old self-hosted cal.com version (from around March this year) to the most recent one. Since then, pre-filling the location doesn't work anymore.
Steps to Reproduce
- Append
?location=https://example.com
to your event page - Book
- Location is either the statically pre-configured one or empty (if no location was pre-configured)
Technical details
- cal.com version 352ce35b40cc68b3d7830619198e78e58946c259
- bundled with github.com/calcom/docker
From Linear-GitHub Sync
this looks like something we should do
hey @PeerRich , i'd like to take on this issue
hey @PeerRich , i'd like to take on this issue
yes sir!
hi @PeerRich can you elaborate more on this. if the location query param exist, does it have to be the default value on the location input field or should post query param rather than location saved on the DB, while form submission ?
if there is a location query it should replace it
@G3root has this been addressed?