streamlit-datalist icon indicating copy to clipboard operation
streamlit-datalist copied to clipboard

Improvement: do not emit unnecessary setComponentValue() on blur

Open arogozhnikov opened this issue 2 years ago • 0 comments

Hi, nice idea with datalist.

Right now component emits setComponentValue() on blur including cases when value was not changed, this triggers page re-rendering. How about just remembering last value and call an actual setComponentValue only if this value was changed?

Thanks!

arogozhnikov avatar May 13 '23 05:05 arogozhnikov