Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple counters on one page #10

Closed
JamesSkemp opened this issue Jun 16, 2015 · 5 comments
Closed

Support multiple counters on one page #10

JamesSkemp opened this issue Jun 16, 2015 · 5 comments
Assignees

Comments

@JamesSkemp
Copy link

I have a form that has over 20 fields on it that need to have a character counter displayed.

Calling $("textarea").characterCounter(); results in each textarea getting a counter, but they all share the same value.

Same issue if I attach characterCounter() to two different ids.

It would be awesome if this supported the ability to add counters for multiple fields on one page.

@darrentaytay
Copy link
Owner

@JamesSkemp sorry you're experiencing this issue.

I'll hopefully have a look at that today and try get it sorted.

@darrentaytay darrentaytay self-assigned this Jun 17, 2015
@neuropass
Copy link

+1 This would be great.

@darrentaytay
Copy link
Owner

@JamesSkemp @neuropass sorry for the delay - I've pushed a change which will fix this issue.

Cheers,
Darren

@JamesSkemp
Copy link
Author

Sorry Darren, took a few days to get back to the project.

Works great! Thanks for the quick turnaround and addition!

@darrentaytay
Copy link
Owner

Glad it's working fine @JamesSkemp

Cheers,
Darren

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants