I find I’m regularly doing things like this (in Quasar):
<q-input v-model="v" @blur="v = v.trim()" />
because if I use
v-mode.trim="v", editing the text is quite awkward. For example, if you type “The w” and then delete the ‘w’, most people would expect there to still be a space after “The” and start typing the correct letter, ending up with “Theq” instead of “The q”.
v-model.lazy.trim, but that’s no different. Is there scope for a change or alternative directive like
v-model.lazytrim, which would only be trimmed on blur?.