1.2.0 • Published 4 years ago

redux-form-debounce-field v1.2.0

Weekly downloads
206
License
UNLICENCED
Repository
github
Last release
4 years ago

redux-form-debounce-field

A variant of redux-form's <Field> component, but with a debounce feature that delay's the field's onChange event from triggering.

Usage

import DebounceField from 'redux-form-debounce-field';

const MyInput = ({
  input,
  meta,
  ...rest
}) => (
  <input
    {...input}
    {...rest}
  />
);

const MyForm = () => (
  <DebounceField
    wait={250}
    component={MyInput}
  />
);

Props

| Prop | Type | Description | Default | | wait | number | The debounce delay | 250 |

1.2.0

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago