Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to clear an ID once set #441

Open
fatso83 opened this issue Nov 7, 2022 · 0 comments
Open

Not possible to clear an ID once set #441

fatso83 opened this issue Nov 7, 2022 · 0 comments
Labels
triage-needed Await triage for this

Comments

@fatso83
Copy link

fatso83 commented Nov 7, 2022

Describe the bug
Create a new form and assign an id to it, then clear the field and try to click anywhere. You know get an error about the new blank value not passing the regex.

Id må være fra 1-64 tegn og kan kun inneholde bokstaver fra a-z, tall, - og .

To Reproduce
Steps to reproduce the behavior:

  1. Create new form on https://formdesigner.helsenorgelab.no/
  2. Click the (i) to get to Skjemadetaljer
  3. Click the "Id" field, enter a value and exit the field
  4. Clear the Id field
  5. Observe an error text

Expected behavior
Since an ID is optional, one should not validate blank strings.

Screenshots
image

@fatso83 fatso83 added the triage-needed Await triage for this label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Await triage for this
Projects
None yet
Development

No branches or pull requests

1 participant