Skip to content

Autocomplete combobox example code bugfix #74

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

Closed
wants to merge 1 commit into from

Conversation

mariovisic
Copy link
Contributor

The example code for the ui.autocomplete combobox will often be used within a form element. If this is the case, pressing the dropdown button to view all of the available options will result in the form being submitted, which doesn't sound like the desired behavior.

I have modified the example to so that the button has a type of 'button'. I would have used attr, but jQuery doesn't seem to let you set the type using the attr method.

@scottgonzalez
Copy link
Member

Thanks, landed in cf48a3c (master) and ffc0855 (1-8-stable).

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants