Closed pergardebrink closed 9 years ago
This was I function that I needed in order to set the value after it had been initialized. Maybe it could be useful for others as well? I'm new to GitHub so I apologize if I'm doing this pull request wrong.. ;)
$('.mentions').mentionsInput('setValue', 'Hey @[alex](user:1)');
I also fixed a bug in the init function that checks if it's an INPUT, TEXTAREA element
Oh, no, sorry... found a bug. Creating a new pull request soon!
This was I function that I needed in order to set the value after it had been initialized. Maybe it could be useful for others as well? I'm new to GitHub so I apologize if I'm doing this pull request wrong.. ;)
I also fixed a bug in the init function that checks if it's an INPUT, TEXTAREA element