Prevent empty label
Change Summary
When creating a label, if you type a space, an empty label will be created. I trim the result in the validation to prevent this. I replicated the pattern I found in plugins/tracker-resources/src/components/CreateIssue.svelte
This is related to my investigation on UBERF-6322, but I think this task may be referring to something else.
Screenshots
Bug (reproduced from main)
https://github.com/hcengineering/platform/assets/44687983/535e103f-6bb7-4112-ad7c-65ea50124ec9
Fix
https://github.com/hcengineering/platform/assets/44687983/f3108535-2f14-4441-bf1e-1e989226d7aa
Hi @elenamik thanks for a contribution, could you please run rush format to full fill CI requirements. Thanks.
Closed because the changes have been implemented as part of another pull request.