Cleave.js: Add a min/max limit

Created on 6 Nov 2016  路  7Comments  路  Source: nosir/cleave.js

Would it be possible to add a min/max limit to an input value? let's say for example, limit year to a specific range? TIA

Most helpful comment

I know this issue closed and probably you still dont think to add this feature but please listen

@nosir this library is the one of the best library available.

Most of the libraries don't allow 8 decimals like 0.12345678.

But in your library we got no floating limit. Only needed feature is minimum and maximum. If you can implement it that would be super cool.

Please inspect this ( https://kevinongko.github.io/vue-numeric/ ) This library provides min and max but decimal digit support and some other features doesn't work as expected.

All 7 comments

+1 for numeric. I guess it can also be for dates.

+1 for numeric

+1

Sorry for disappointing you guys. numeric is a good feature but a bit over what the lib was designed for.
Cheers, will close it for now.

I know this issue closed and probably you still dont think to add this feature but please listen

@nosir this library is the one of the best library available.

Most of the libraries don't allow 8 decimals like 0.12345678.

But in your library we got no floating limit. Only needed feature is minimum and maximum. If you can implement it that would be super cool.

Please inspect this ( https://kevinongko.github.io/vue-numeric/ ) This library provides min and max but decimal digit support and some other features doesn't work as expected.

@nosir any news here?

numeral min/max feature is the only thing that prevents us to move completely to cleave.js (We are using autonumeric for now).

We would love to move completely to cleave.js.

Lack of numeral min/max feature is the only thing that disappointed me in Cleave.js. It will be super good if you guys could find a way to add it to the library. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dan-kez picture dan-kez  路  5Comments

drugoi picture drugoi  路  5Comments

ozkxr picture ozkxr  路  3Comments

Scit picture Scit  路  4Comments

melbon picture melbon  路  3Comments