react-numeric-input
react-numeric-input copied to clipboard
Numeric input component for react
As per https://github.com/vlad-ignatov/react-numeric-input/issues/68 this library now has `noStyle` prop instead of `style={false}`, which triggers eslint warning (and depending on project settings may cause build failure). This PR updates the README...
Usually on input fields with number mouse scroll up/down caues increment/decrement. Doesn't seem to work with this component for me.
Can anybody please explain the difference between the properties `className` and `componentClass`? Why is it necessary to have them both in the schema? Thank you!
I'm still getting the following error message. > Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080 - Only on mobile - Version...
Numbers with 0 after coma are deleted.
Is it possible to use custom buttons (custom components or special images or svg icons instead of default icons) for increasing and decreasing? I couldn't find any way for it.
``` onMouseDown(dir: "up"|"down", callback?: Function): void { if (dir == 'down') { this.decrease(false, callback); } else if (dir == 'up') { this.increase(false, callback); } } ``` after click in `increase`...
Hejhej, The latest package on npm does not have the latest changes from the file - it was not build it seems @vlad-ignatov there are no changes in the functionality,...
I am unable to use it as a controlled component using `useState` hook. Demo: https://codesandbox.io/s/nnqlnxozxj Code: ``` function App() { const [val, setVal] = useState(15); const handleChange = value =>...