Can't use onReturn event with Selectize

Can't use onReturn event with Selectize

mc2devmc2dev Posts: 33Questions: 6Answers: 0

Hi,

I'm using Selectize plug-in a field of my table but I can't set value (with bubble and inline create) with the onReturn form-option.

editor.inlineCreate(this, {
        onReturn: 'submit', // Doesn't work...
        onBlur: 'submit', // Works well
})
editor.bubble(this, {
          onReturn: 'submit', // Doesn't work...
          onBlur: 'submit', // Works well
})

As you can see on these two code snippets, the onBlur option works perfectly on both but onReturn is ignored for no reason...

Thanks for your help!

Replies

Sign In or Register to comment.