getodk / getodk/central

Empty space in "Create Public Access Link"

Open
#693 1 comment 0 reactions 1 assignee Claimed by @matthew-white View on GitHub
frontend needs testing
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

#### Problem description
It's possible to create a public access link to a form with just a space in the name. After using a space in the name field, the space is prefilled in the name field.

#### Steps to reproduce the problem
1. Go to a form to "Public Access" tab.
2. Click "Create Public Access Link".
3. Enter a space in "Display name" field.
4. Click "Create".
5. Click "Create Public Access Link" again and check the name field.
#### Screenshot
https://jam.dev/c/edbc27f7-67f5-4964-99d1-bfe57e3ffe36

#### Expected behavior

#### Central version shown in version.txt
https://staging.getodk.cloud/
versions:
e49518adb84f88d7bc6c3626fc77584dfc935435 (v2024.1.0-6-ge49518a)
+c26fce67e3bdbb6dbabafd7f02ea9abe81009e2c client (v2024.1.0-32-gc26fce67)
+fb96aa3333d3442ea43365755766262f21de3969 server (v2024.1.0-23-gfb96aa33)

https://test.getodk.cloud
versions:
f21b33acc8dae215e54485849e7dd59167e6f433 (v2024.1.0)
3fb0c22b1cbdc3a6004963afcc3847a82c09307d client (v2024.1.0)
b4754cf52bfa64b1ca841bc9ccb64a38726398e8 server (v2024.1.0)
#### Browser
Firefox and Chrome

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.