Skip to content

Commit

Permalink
changing debounce to 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
bbarker committed Dec 16, 2020
1 parent d58bb6d commit 854be51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Metajelo/FormUtil.purs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ textInput' initVal = sig initVal
-- pure $ unsafePerformEffect $ log $ "refstr in textInput sigNow': " <> (show rs)
-- rsNew <- textInputWidget rs
-- pure $ sigNow rsNew
sig txt = debounce 2000.0 txt textInputWidget
sig txt = debounce 1000.0 txt textInputWidget

-- | Reasonable defaults for filtering input text
textFilter :: Signal HTML String -> Signal HTML (Maybe NonEmptyString)
Expand Down

0 comments on commit 854be51

Please sign in to comment.