Closed coryschires closed 11 years ago
Yeah, thank you!
I have some issues
Let's make this PR final, but for the next time consider to make a topic branch for such stuff. It's better :)
Do not let fool by Travis.. the tests are still okay!
You raise some good points:
onRenderErrorMessage
callback, though I do think it's a good idea. I'll add it.minChars
validation when the user tries to add a tag with too few characters. For maxChars
, however, I think we want to let the user know as soon as they've typed too many characters – even before they've attempted to add the tag. Does that make sense?I plan on making these changes tomorrow. Thanks again for being so responsive!
Even if the maximum of chars is reached, the box "No results were found" will be flashed. Additionally, the error message will be shown.
@knalli I think those two most recent commits address your concerns.
Lemme know if it's good to go.
Yes, seems to be good. I'll look for it tomorrow's eve.
Thank you! (Sorry for the unexpected delay).
maxChars
. Works similarly tominChars
minChars
maxChars
onRenderErrorMessage
callback which can be overridden in order to customize validation behavior.