bootstrap-maxlength
bootstrap-maxlength copied to clipboard
threshold as dynamic and not fixed number?
Per the documentation, we can set a fixed number for threshold which works great, but I do have cases where threshold is required as low as 1 character and some other cases where 5 (or 10, 20, etc.) would be more appropriate. Since I'm using a single init for all input fields that have maxlength attribute, that enhancement would be superb, otherwise I would need to have multiple init calls with different threshold set.
Is this something that could be considered in next update?
Old comment, but another vote for this, it'd be really useful to scale the threshold value depending on the maxlength value - perhaps to set it as a percentage.