react-input-autosize icon indicating copy to clipboard operation
react-input-autosize copied to clipboard

Add propType 'step" for Number validation.

Open itsjop opened this issue 6 years ago • 1 comments

Currently, there is no support for anything other than integers on number fields, for instances such as currency.

image

This could be solved by adding the 'step' propType to the blacklist, so that smaller values can be passed, such as .01.

itsjop avatar Jan 04 '19 20:01 itsjop

Can't agree more. The step prop should be supported for number type.

hi-hai avatar May 28 '21 12:05 hi-hai