Preliminary Checks
Reproduction
https://github.com/mujtabaalmas/clerk_issue_repository
Publishable key
pk_test_a25vd24tam9leS00NS5jbGVyay5hY2NvdW50cy5kZXYk
Description
There is a UX issue when deleting an application if the application name contains trailing whitespace.
Steps to reproduce:
- Create a new application with a name that includes 3 trailing space (e.g.,
"my application ").
- Go to delete the application.
- In the confirmation input, type
"my application" (without trailing space).
Actual behavior:
- The deletion fails with the message:
Please type "my application " to confirm
- However, the UI does not clearly show that there is a trailing space in the required text.
- Even when typing the visible name exactly, deletion is rejected.
Expected behavior:
-
Either:
- Trim whitespace when saving or validating names, OR
- Clearly show trailing whitespace in the confirmation UI, OR
- Ignore leading/trailing whitespace during confirmation matching
Impact:
- Confusing UX
- Users may get stuck and unable to delete applications
- Invisible characters should not block destructive actions
Suggested fix:
- Apply
.trim() on both stored name and input during comparison
- Or visually indicate whitespace (e.g., show
· or highlight spaces)
This seems like a small validation issue but creates a blocking experience.
Environment
Environment:
Clerk Dashboard: Development (dashboard.clerk.com)
Browser: Google Chrome
OS: Windows 11
Device: Desktop
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
https://github.com/mujtabaalmas/clerk_issue_repository
Publishable key
pk_test_a25vd24tam9leS00NS5jbGVyay5hY2NvdW50cy5kZXYk
Description
There is a UX issue when deleting an application if the application name contains trailing whitespace.
Steps to reproduce:
"my application ")."my application"(without trailing space).Actual behavior:
Please type "my application " to confirmExpected behavior:
Either:
Impact:
Suggested fix:
.trim()on both stored name and input during comparison·or highlight spaces)This seems like a small validation issue but creates a blocking experience.
Environment