[SOLVED] Tooltip incorrectly says that spaces are allowed in schema name

I have…

  • [X] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [X] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Tooltip says that spaces are allowed when they are not:
Name can only contain letters, numbers, dashes and spaces.

Expected behavior

Tooltip should not include spaces as an allowed item :
Name can only contain letters, numbers and dashes.

Minimal reproduction of the problem

create a new schema and use a space in the name, see tooltip.

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [X] Cloud version
1 Like

I have opened a PR for this: https://github.com/Squidex/squidex/pull/896

1 Like

Whilst making that change I noticed that the Client creation field uses the same validation message (clients.clientIdValidationMessage) and that that field also does not allow spaces as it is the ID of the client, however I could not get the validation message to show (it just showed a red outline around the input) so I figured there may be possibly something else going on there that warrants a separate look and possible fix.

1 Like

This topic was automatically closed after 2 days. New replies are no longer allowed.