-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Autoclose dropdown after add new item #344
Comments
onItemAdd: function() { |
@gwacker Great! But does not work when |
This worked well: onItemAdd: function() { |
Hello, i have the same Problem and your answeres will not work :( |
This is now a part of 0.12.0 (just released). Just set |
Sorry @PaykomanVll, this.close() was not working. But it was solving one bug that I cannot remember now. |
Hello, thanks for your answer and fix !!! Thank you! :: UPDATE ::
:: Update two ::
and this will not write on console but we you see i have create set to true, but the el have this class not :( And when i set log to the else statemant, will this execute after i click an option (so will it selected) but my target was an auto close without click to an option :( Or we must change my line: selectMenu.setValue('0'); then the menu must be close when a value is set! =( Then the problem ist, when i add my option on javascript the menu will auto open and all options are visible when the dialog go open, but the menu must be closed. The new function "closeAfterSelect" we must change to "closeAfterSet" so if called selectMenu.setValue('0'); than close menu. That is better i think ;) |
Hm no help more? =( |
Hello, I would like to know how to do that when you add a new item, I would close the dropdown
create: function(input) {
autoclose???
}
thanks
The text was updated successfully, but these errors were encountered: