tags-input
tags-input copied to clipboard
Make sure tags that mismatch pattern are not added
Fixes #20 and #21 to ensure that tags that don't get added if they mismatch with the pattern attribute.
This is just what @mikemaccana had but does not rely on include to ensure IE support. Got rid of the tilde trick and just check if indexOf is equal or greater than 0.
Also added some styles to flash the input box to indicate that the content is invalid.
Awesome; anything else that needs to happen before we merge?
I think we're good, just didn't want to do it on a plane haha
Awesome! Understandable 😄 I fixed the typo that @zaygraveyard pointed out as well, thank you for that! 👍
Can we make a release for this?
hmm there seems to be quite big fork in https://github.com/pirxpilot/tags-input
@developit WTH... just do it already