powercat-creator-kit icon indicating copy to clipboard operation
powercat-creator-kit copied to clipboard

[BUG]: TagList doesn't change selected key

Open JamesSnaps opened this issue 2 years ago • 1 comments

Describe the bug The 'SelectedKey' property of TagList does not update when you select different tags.

To Reproduce Steps to reproduce the behavior:

  1. Add the TagList and use the default Items table as provided in the guide.
  2. Create a label to view the 'selectedKey' output property.
  3. Select different tags

Expected behavior The 'selectedkey' property should update with the currently selected key, as it does in other similar components

Additional context It doesn't appear the tags have any connection to the 'onselect' or 'onchange' properties. If you try a simple notification in 'onselect', nothing happens at all.

AB#971

JamesSnaps avatar Jul 12 '23 11:07 JamesSnaps

I have a comment regarding the tag list control you mentioned. I followed @scottdurow's tutorial and used a collection to add and remove tags. However, there is an issue when removing a tag. According to our business requirements, only one tag list can add/remove tags. The problem is that after removing a tag, the tag control still displays the last key instead of being blank as it should be, I meant (taglist.TagKey).

yaseralhosani avatar Jul 12 '23 11:07 yaseralhosani