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

ac-selected-item-change is called when the DOM loads #1

Open
kamal0808 opened this issue Apr 9, 2017 · 0 comments
Open

ac-selected-item-change is called when the DOM loads #1

kamal0808 opened this issue Apr 9, 2017 · 0 comments

Comments

@kamal0808
Copy link
Contributor

Description

The function tied to ac-selected-item-change loads when the DOM loads, even when there is no change in the selected item. This happens in case only if there is a preselected item in ac-selected-item during DOM load.

Expected behaviour

The functionality tied to ac-selected-item-change should check first if there is a value being assigned in ac-selected-item. If ac-selected-item is undefined at first, then only ac-selected-item-change function should execute.

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

No branches or pull requests

1 participant