Skip to content

Commit

Permalink
onChange delay time 300ms -> 1500ms
Browse files Browse the repository at this point in the history
  • Loading branch information
villevuor committed Jul 19, 2016
1 parent 98b1207 commit 8e5cc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/Util/DebouncedTextField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Input } from 'react-bootstrap';
export function getDebouncedTextField() {
function debouncedTextField({ value, label, property, onChange }) {

const delayedOnChange = _.debounce(value => onChange(property, value), 300);
const delayedOnChange = _.debounce(value => onChange(property, value), 1500);

function handleValueChanged(event) {
event.persist();
Expand Down

0 comments on commit 8e5cc02

Please sign in to comment.