jquery-editable-select icon indicating copy to clipboard operation
jquery-editable-select copied to clipboard

Select event collides with built-in jQuery event

Open musicin3d opened this issue 8 years ago • 0 comments

When the use highlights text inside a text input, jQuery fires a "select" event. This plugin intercepts the event, adds the suffix to it, and refires it. This breaks client code that depends of the "select.editable-select" event (for example, to auto-submit the form).

I see two possible solutions:

  1. Rename the event to "selected"
  2. Prevent the plugin from intercepting and renaming the event

musicin3d avatar Apr 27 '18 17:04 musicin3d