react-debounce-input: Doesn't accept 0 as 'value'

<DebounceInput value={0} />

renders empty input

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (9 by maintainers)

Commits related to this issue

Most upvoted comments

It would be great if we could get this PR approved 😀. we use this debouncing on some numeric fields but have had to disable it for now.

If the prop is not set the value would be undefined which is == null. So it’s safe. We’ve been running a local copy of the code with the applied fix in our code since December last year.

Hi @nkbt, do you still have pretty bad internet there?