v-model modifier on input ruins html
Overview of the problem Oruga version: [0.6.0] Vuejs version: [3.2.47] OS/Browser:
Description
trim modifier adds ugly modelmodifiers="[object Object]" to the final html:
<o-input v-model.trim="test_model.property" name="test_name" />
@AuthorProxy I think v-model modifiers only work when used directly on an html input element. However, oruga components are just normal vue components. I don't know if v-model modifiers are also usable for components v-model. Do you have an example?
I don't think that the built-in v-model modifiers automatically work on anything but plain HTML elements, but it is possible to get the set of modifiers used on a custom component and define one's own behavior to handle them.
@mlmoravek we can just omit them - so they not ruin final html