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

[Dropdown] - onChange handler's $choice argument always empty #6555

Closed
feeva opened this issue Aug 31, 2018 · 2 comments
Closed

[Dropdown] - onChange handler's $choice argument always empty #6555

feeva opened this issue Aug 31, 2018 · 2 comments
Milestone

Comments

@feeva
Copy link

feeva commented Aug 31, 2018

Steps to Reproduce

  1. Initialize a dropdown with onChange handler
  2. Do some action(ie. click) to trigger the dropdown selection
  3. onChnage handler is called but $choice argument is empty

Expected
$choice argument contains jQuery element

Result
$choice is undefined

Testcase
http://jsfiddle.net/y7npxb3d/

One more thing to comment
Dropdown's action setting has the function signagure text, value, element while onChange has value, text, $choice. What about making those two have the same form?

@y0hami
Copy link
Member

y0hami commented Aug 31, 2018

This seems to be the issue when the action is set to hide

@jlukic
Copy link
Member

jlukic commented Sep 5, 2018

Fixed in next

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

No branches or pull requests

3 participants