Debounce x-modelable #2764
zepfietje
started this conversation in
3. Feature Ideas
Replies: 1 comment 4 replies
-
It depends on how you update <div x-data="{ outer: 0 }">
<span x-text="outer"></span>
<div x-data="{ inner: 0 }" x-modelable="inner" x-model="outer">
<button @click.debounce="inner++">Inc</button>
</div>
</div> At the moment, I don't think |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems like currently it's impossible to debounce
x-model
when used withx-modelable
.I'd like to be able to just use the following to debounce or throttle updating the outer value:
If there's any way to make it work, let me know!
Beta Was this translation helpful? Give feedback.
All reactions