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
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" />
The text was updated successfully, but these errors were encountered:
AuthorProxy
changed the title
<o-input v-model.trim="formSettings.provider.email_domain" name="sso_provider_domain" placeholder="Enter domain name after @" />
trim modifier ruin html
Nov 11, 2023
AuthorProxy
changed the title
trim modifier ruin html
v-model modifier on input ruins html
Nov 11, 2023
@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.
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" />
The text was updated successfully, but these errors were encountered: