Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Fix taggingLabel initialization for single mode #1572

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Teegrounet
Copy link
Contributor

Fix taggingLabel initialization for single mode (when it works)

When taggingLabel is not define in ui-select tag and tagging is active with string (not object), the taggingLabel is undefine and we can see " undefined" in the list.
With this code, taggingLabel is initialized with '(new)' as it could be when taggingLabel tag is present whithout value.

Fix taggingLabel initialization for single mode

When taggingLabel is not define in ui-select tag and tagging is active with string (not object), the taggingLabel is undefine and we can see "<value> undefined" in the list.
With this code, taggingLabel is initialized with '(new)' as it could be when taggingLabel tag is present whithout value.
@user378230
Copy link
Contributor

Is it possible to add a test for this?

@Teegrounet
Copy link
Contributor Author

Teegrounet commented Apr 26, 2016

I think it's not possible as long as we don't have PR 972, because we can't see tagging element in single mode.

perf : store tagging element 

store tagging element to have it all the time without comparing items[0] and filter list of items
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants