Skip to content

A whitespace-only app token note is accepted and shows as an empty cell #3723

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

A whitespace-only app token note is accepted and shows as an empty cell. Cause: packages/web-runtime/src/components/Modals/AppTokenModal.vue:103-115 doesn't trim; AppTokens.vue:51 falls back only for an empty string.

Reproduction Steps

  1. Create a token with note " ".

Expected Outcome

Validation rejects it like an empty note ("The note is required").

Actual Outcome

Saved; the note cell is blank.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions