Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if viewValue is null and isMultiple is true it crashes #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markunderhill
Copy link

if viewValue is null and isMultipe is true it crashes on line
if (isMultiple && viewValue.length === 0)
because viewValue is not an array.

@lordfriend
Copy link
Owner

The change made by this PR may break the feature in #39

Please make sure you ng-model value is an array or undefined when using multiple mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants