You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the rx.debounce works well with inputs and textareas. Is there a way we can generalize this to work for all components such as rx.slider or the color picker example in the docs?
Modifying queueEvents like this within utils/state.js seems to work. We should probably make this a flag though, we mayn't want to do this for all events.
exportconstqueueEvents=async(events,socket)=>{// Filter out any events already in the queue.events=events.filter((event)=>{for(constqueued_eventofevent_queue){if(queued_event.name===event.name){returnfalse;}}returntrue;});event_queue.push(...events);awaitprocessEvent(socket.current);};
Currently the
rx.debounce
works well with inputs and textareas. Is there a way we can generalize this to work for all components such asrx.slider
or the color picker example in the docs?Current docs: https://reflex.dev/docs/library/forms/debounce/#debounce
REF-2250
The text was updated successfully, but these errors were encountered: