leaderboard-site
leaderboard-site copied to clipboard
Task: Update base input to include binding for $listeners
What are you wanting to be added?
The input base component currently is set up just for v-model
so other event binding cannot be done.
What might break?
When adding v-on="$listeners"
, v-model
returns an input event as apposed to the proper data.
Relevant Issues
No response
The input base component
Which component is this? I can't find anything that has v-model
I think it was first made in here, which hasn't landed yet https://github.com/speedrun-website/speedrun.website/pull/14
We shouldn't need any of this, as long as the input
is the top element of the template and if inheritAttrs
is set to true (already true by default). Same goes for all the base components basically.
@CapitaineToinon do you think we're good to close this then?
Closing this, as we apparently don't need it anymore