platform icon indicating copy to clipboard operation
platform copied to clipboard

Prevent empty label

Open elenamik opened this issue 1 year ago • 1 comments

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

Huly®: UBERF-6354

elenamik avatar Apr 04 '24 14:04 elenamik

Hi @elenamik thanks for a contribution, could you please run rush format to full fill CI requirements. Thanks.

haiodo avatar Apr 09 '24 10:04 haiodo

Closed because the changes have been implemented as part of another pull request.

aonnikov avatar May 10 '24 05:05 aonnikov