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

Is it possible to update limit on the fly #5

Open
samir001 opened this issue Apr 29, 2014 · 4 comments
Open

Is it possible to update limit on the fly #5

samir001 opened this issue Apr 29, 2014 · 4 comments

Comments

@samir001
Copy link

samir001 commented Apr 29, 2014

Hello,
I want change the limit based on user input. If user is uploading file along with writing text on textarea. His limit will be less but if he is not uploading file his limit will be more. Can it be done. Can we update limit later on.
Thanks,
Samir

@darrentaytay
Copy link
Owner

This isn't possible right now.

I could look into adding it in.

@BrainFeeder
Copy link

I could use this enhancement. At least you should listen to any change. If we set the value of the textarea through $('textarea').val('Some String'); the count is not updated.

@darrentaytay
Copy link
Owner

@BrainFeeder .val() doesn't trigger an event I can listen to.

You can do something like $('textarea').val('Some String').trigger('change');

This should re-count.

@BrainFeeder
Copy link

Ah, of course. I mixed up with the other input elements .. again. I had it working a few minutes after I commented my frustrations :)

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

No branches or pull requests

3 participants