Conversation
|
Thank you for working on this! I like the flexibility of being able to specify your own keys, that is very on par with Awesomplete's design principles. |
|
This seems like a great feature, but I agree that having it as default might be problematic. Perhaps it might be made more configurable, i.e. |
|
I added submitKeys defaulted that way as a PoC. I agree that could be left just Enter, or Enter + Tab as default keys. And a method to set the new option would be a nice addition. I'll eventually add it, later. |
|
LeaVerou, I set default submitKeys to [ Enter ]. setSubmitKeys( KEYCODE ) Let me know if this may be a more useful addition. |
|
Why do we need a function (and such a long one at that)? People can modify the |
Instead of default Enter key, any number of keys can be configured via optional submitKeys: [] array.
Defaults to Comma, Tab and Enter keys.