snehilvj / dash-mantine-components

Plotly Dash components based on Mantine React Components
https://www.dash-mantine-components.com
MIT License
531 stars 53 forks source link

Debounce boolean in addition to time? #200

Closed uns1 closed 5 days ago

uns1 commented 1 year ago

Is it possible to have the debounce be a True/False in addition to the current capability of setting a time limit i.e. only consider the input complete once the enter key is hit or if the element loses focus? Both dash core components and dash bootstrap components have it as a boolean. My text inputs can have high variance and can either be very short or very long so it becomes hard to accurately set a time debounce that works.

ZhangPeng4242 commented 8 months ago

Yes please, I would also like the boolean feature for debounce that Input will only trigger a callback on pressing Enter or losing focus.

jngarber-st commented 4 weeks ago

Adding my request to take a boolean in addition to the int value to debounce, as dash core components do.

AnnMarieW commented 5 days ago

Hi @jngarber-st , @ZhangPeng4242 @uns1

Thanks for your feature request. I’m going to close this because it’s a duplicate of #87. Please feel free chime in and show your support for this feature over there.