CodeForPhilly / chime

COVID-19 Hospital Impact Model for Epidemics
https://codeforphilly.github.io/chime/
MIT License
205 stars 151 forks source link

[dash] Add default debounce argument for forms #507

Closed ckoerber closed 4 years ago

ckoerber commented 4 years ago

I have added the debounce keyword argument to the create_number_input method which creates number inputs for the dash app. This causes the web widgets to call the callback only when either the input is unfocused or enter is pressed. Thus we have a smoother user experience.